travis: Set VIRTUALENV_DOWNLOAD=no

Things broke because of the virtualenv upgrade in requirements-tox.txt.
virtualenv bundles a "good" pip version (good: doesn't suffer
from #1486). However the virtualenv upgrade caused us to get a new
version which downloads a new pip. Setting VIRTUALENV_DOWNLOAD=no
prevents that from happening.
This commit is contained in:
Florian Bruhin 2016-05-12 12:30:39 +02:00
parent e70d6d49d9
commit b634b051c8

View File

@ -45,6 +45,9 @@ cache:
before_install: before_install:
# We need to do this so we pick up the system-wide python properly # We need to do this so we pick up the system-wide python properly
- 'export PATH="/usr/bin:$PATH"' - 'export PATH="/usr/bin:$PATH"'
# And this to stop virtualenv from upgrading pip, see
# https://github.com/The-Compiler/qutebrowser/issues/1486
- 'export VIRTUALENV_DOWNLOAD=no'
install: install:
- bash scripts/dev/ci/travis_install.sh - bash scripts/dev/ci/travis_install.sh