diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/.travis.yml b/.travis.yml index 5304305..9b4da02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,28 +1,30 @@ language: python - -# Python 3.5 specified to make tox environment 'py35' work. -# See: https://github.com/travis-ci/travis-ci/issues/4794 -python: - - 3.5 +cache: pip # Environment changes have to be manually synced with 'tox.ini'. # See: https://github.com/travis-ci/travis-ci/issues/3024 -env: - - TOXENV=py26 - - TOXENV=py27 - - TOXENV=py33 - - TOXENV=py34 - - TOXENV=py35 - - TOXENV=pypy + +# Python 3.7 is not yet supported by Travis CI. +# See: https://github.com/travis-ci/travis-ci/issues/9815 + +python: + - "2.7" + - "3.4" + - "3.5" + - "3.6" + - "3.7-dev" + +# This is blocked by https://github.com/pypa/pipenv/issues/2449, +# also see https://github.com/pypa/pipenv/projects/7 +# - "pypy" + - "pypy3.5" install: - - pip install -r requirements.txt - - pip install coveralls + - pip install pipenv + - pipenv install --dev script: - - tox + - pipenv run py.test after_success: - # Coveralls submission only for py35 environment, because of being the only - # one that executes doctest-modules testing, according to tox.ini. - - if [ ${TOXENV} = "py35" ]; then coveralls; fi + - pipenv run coveralls |