language: python

python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8-dev"
- "nightly"
- "pypy"

install:
  - pip install pytest pytest-cov

script: pytest --cov twitter --cov tests

after_success:
  - pip install coveralls && coveralls
  - pip install pycodestyle pyflakes
  - pycodestyle twitter/*.py
  - pyflakes twitter/*.py
  - pycodestyle tests/*.py
  - pyflakes tests/*.py

matrix:
  allow_failures:
    - python: "pypy"

language: python

python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
- "3.9-dev"
- "nightly"
- "pypy"

install:
  - pip install pytest pytest-cov

script: pytest --cov twitter --cov tests

after_success:
  - pip install coveralls && coveralls
  - pip install pycodestyle pyflakes
  - pycodestyle twitter/*.py
  - pyflakes twitter/*.py
  - pycodestyle tests/*.py
  - pyflakes tests/*.py

matrix:
  allow_failures:
    - python: "pypy"

Test on 3.8 final and 3.9-dev
Test on 3.8 final and 3.9-dev