From 491dd1a99dfe36461fa178132170377774c6bba4 Mon Sep 17 00:00:00 2001 From: Jedrzej Nowak Date: Thu, 24 Sep 2015 17:57:45 +0200 Subject: [PATCH] pip accel in tests instead of plain pip --- .travis.yml | 7 +++++-- run_tests.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) 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