| 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 |
| |
| # Environment changes have to be manually synced with 'tox.ini'. |
| # See: https://github.com/travis-ci/travis-ci/issues/3024 |
| env: |
| - TOXENV=py27 |
| - TOXENV=py33 |
| - TOXENV=py34 |
| - TOXENV=py35 |
| - TOXENV=pypy |
| |
| install: |
| - pip install -r requirements.txt |
| - pip install coveralls |
| |
| script: |
| - tox |
| |
| 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 |