travis: fix using wrong Python version

This commit is contained in:
INADA Naoki 2017-04-13 10:57:40 +09:00
parent 5dc6a1bfbf
commit 6998310b55
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ install:
- travis_retry pip install codecov
# Create a separate no-dependencies virtualenv to make sure all imports
# of optional-dependencies are guarded.
- virtualenv ./nodeps
- virtualenv -p `which python` ./nodeps
- ./nodeps/bin/python -VV
- ./nodeps/bin/python setup.py install
- curl-config --version; pip freeze