language: python
cache: pip
dist: xenial

install:
 - pip install --upgrade pip setuptools
 - pip install tox-travis

python:
  - "2.7"
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"
  - "pypy"
  - "pypy3"

env:
  - TWISTED="16"
  - TWISTED="latest"

script:
  - tox

matrix:
  include:
    - python: "3.5"
      env: TOXENV=lint3

notifications:
  email: false

language: python
cache: pip
dist: xenial

install:
 - pip install --upgrade pip setuptools
 - pip install tox-travis

python:
  - "2.7"
  - "3.5"
  - "3.6"
  - "3.7"
  - "3.8"
  - "pypy"
  - "pypy3"

env:
  - TWISTED="16"
  - TWISTED="latest"

script:
  - tox

matrix:
  include:
    - python: "3.5"
      env: TOXENV=lint3
  exclude:
    # Twisted 16 doesn't work with Python 3.8:
    - python: "3.8"
      env: TWISTED="16"

notifications:
  email: false

Exclude Python 3.8 + Twisted 16.
Exclude Python 3.8 + Twisted 16.
