summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJoost Rijneveld <joost@joostrijneveld.nl>2017-10-22 17:48:34 +0200
committerSybren A. Stüvel <sybren@stuvel.eu>2017-10-22 17:48:34 +0200
commit4d3bde66eefd4ee6dd188d5b002867b9e4594b91 (patch)
tree5a118b2c72b9fb6202a167329edd8dae881ea510 /.travis.yml
parent8affa1362ed6a9c70af286026118870538b3bdab (diff)
downloadrsa-git-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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
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