Move it to the right place.
@@ -40,10 +40,6 @@ services:
- mongodb
- rabbitmq
-before_install:
- - pip install --upgrade "pip>=9.0,<9.1"
- - sudo pip install --upgrade "virtualenv==15.1.0"
-
# Let's enable rabbitmqadmin
# See https://github.com/messagebus/lapine/wiki/Testing-on-Travis.
before_script:
@@ -64,6 +60,8 @@ cache:
before_install:
# Work around for Travis timeout issues, see https://github.com/travis-ci/travis-ci/issues/9112
- sudo apt-get update --option Acquire::Retries=100 --option Acquire::http::Timeout="60"
+ - pip install --upgrade "pip>=9.0,<9.1"
+ - sudo pip install --upgrade "virtualenv==15.1.0"
install:
- if [ "${TASK}" = 'compilepy3 ci-py3-unit' ]; then pip install tox; else make requirements; fi
