Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Fix travis and old pip versions
Browse files Browse the repository at this point in the history
  • Loading branch information
alfpark committed Jun 2, 2017
1 parent 1c72282 commit 29c2f78
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,19 @@ python:
- 3.5
- 3.6
install:
- travis_retry pip install tox-travis coveralls
- travis_retry pip install coveralls
script:
- tox
- |
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]] || [[ $TRAVIS_PYTHON_VERSION == '3.3' ]] || [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then
virtualenv venv
source venv/bin/activate
travis_retry pip install --upgrade pip
travis_retry pip install --upgrade setuptools wheel tox
tox -e $(echo py$TRAVIS_PYTHON_VERSION | tr -d .)
deactivate
else
travis_retry pip install tox-travis
tox
fi
after_success:
- coveralls --rcfile=.coveragerc --verbose

0 comments on commit 29c2f78

Please sign in to comment.