1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
sudo: false
language: python
cache: pip
# Python versions specified to make tox environment 'py35' and 'py36' work.
# See: https://github.com/travis-ci/travis-ci/issues/4794
# Environment changes have to be manually synced with 'tox.ini'.
# See: https://github.com/travis-ci/travis-ci/issues/3024
matrix:
include:
- python: '2.7'
env: TOXENV=py27
- python: '3.4'
env: TOXENV=py34
- python: '3.5'
env: TOXENV=py35
- python: '3.6'
env: TOXENV=py36
- python: 'pypy'
env: TOXENV=pypy
- python: 3.5
env: TOXENV=qa,doc
install:
- pip install --upgrade setuptools pip tox-travis coveralls
script:
- tox -v
after_success:
# Coveralls submission only for py36 environment, because of being the only
# one that executes doctest-modules testing, according to tox.ini.
- if [ ${TOXENV} = "py36" ]; then coveralls; fi
|