diff options
author | Joost Rijneveld <joost@joostrijneveld.nl> | 2017-10-22 17:48:34 +0200 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-10-22 17:48:34 +0200 |
commit | 4d3bde66eefd4ee6dd188d5b002867b9e4594b91 (patch) | |
tree | 5a118b2c72b9fb6202a167329edd8dae881ea510 | |
parent | 8affa1362ed6a9c70af286026118870538b3bdab (diff) | |
download | rsa-4d3bde66eefd4ee6dd188d5b002867b9e4594b91.tar.gz |
Use tox-travis to run tox when using TravisCI (#102)
* Use tox-travis to run tox when using TravisCI
* Always run coveralls after TravisCI
It appears coveralls no longer comments twice
-rw-r--r-- | .travis.yml | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/.travis.yml b/.travis.yml index a365e3b..f41b88f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,16 @@ 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 +python: + - 2.7 + - 3.3 + - 3.4 + - 3.5 + - "pypy" install: + - pip install tox-travis - pip install -r requirements.txt - pip install coveralls @@ -22,6 +18,4 @@ 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 + - coveralls |