language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7-dev"
script: tox
os:
  - linux
before_install:
  - travis_retry pip install --upgrade pip
  - travis_retry pip install requirements-builder
  - requirements-builder --level=min setup.py > .travis-lowest-requirements.txt
  - requirements-builder --level=pypi setup.py > .travis-release-requirements.txt
install:
  - pip install tox-travis
  - pip install coveralls
  - travis_retry pip install -r .travis-$REQUIREMENTS-requirements.txt
  - pip install -e .
env:
  - REQUIREMENTS=lowest
  - REQUIREMENTS=release
after_success:
  # rcfile name duplicated in test/run.py
  - coveralls --rcfile="./test/.coverage_rc_mock_script"

language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
  - "3.6"
  - "3.7-dev"
  - "3.8-dev"
  - "pypy"
  - "pypy3"
script: tox
os:
  - linux
before_install:
  - travis_retry pip install --upgrade pip
  - travis_retry pip install requirements-builder
  - requirements-builder --level=min setup.py > .travis-lowest-requirements.txt
  - requirements-builder --level=pypi setup.py > .travis-release-requirements.txt
install:
  - pip install tox-travis
  - pip install coveralls
  - travis_retry pip install -r .travis-$REQUIREMENTS-requirements.txt
  - pip install -e .
env:
  - REQUIREMENTS=lowest
  - REQUIREMENTS=release
after_success:
  # rcfile name duplicated in test/run.py
  - coveralls --rcfile="./test/.coverage_rc_mock_script"

Test with 3.8-dev, pypy and pypy3
Test with 3.8-dev, pypy and pypy3
