Skip to content

Commit 069abfd

Browse files
committed
Fix travis for Python 3.3
This is a bug in how virtualenv released their first version that doesn't support Python 3.3 that we now have to work around.
1 parent ef2d7f4 commit 069abfd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ matrix:
1515
env: TOXENV=docs
1616

1717
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
18-
install: pip install -U tox-travis
18+
install:
19+
- pip install -U tox-travis
20+
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install 'virtualenv<16.0'; fi
21+
- if [[ $TRAVIS_PYTHON_VERSION == "3.3" ]]; then pip install 'setuptools<40.0'; fi
1922

2023
# command to run tests, e.g. python setup.py test
21-
script: tox
24+
script: tox

0 commit comments

Comments
 (0)