Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
8affa13
commit 4d3bde6
Showing
1 changed file
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
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 | ||
|
||
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 |