diff --git a/.travis.yml b/.travis.yml index 33b0fa7f..5b0619e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,13 @@ language: python python: 2.7 +env: + - PIP_ACCEL_CACHE=$HOME/.pip-accel-cache cache: directories: - - $HOME/.cache/pip + - $HOME/.pip-accel-cache install: - - pip install coveralls + - pip install pip-accel + - pip-accel install coveralls script: - ./run_tests.sh services: diff --git a/run_tests.sh b/run_tests.sh index a2769b9b..21cc8031 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -29,7 +29,7 @@ fi . $VENV/bin/activate -pip install -r solar/test-requirements.txt --download-cache=/tmp/$JOB_NAME +pip-accel install -r solar/test-requirements.txt pushd solar