From b9046332c4ce498ab1c363cf579ebc5586f304ac Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 21 Jun 2018 19:51:10 -0700 Subject: [PATCH] Tell pip to use explicit download cache --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17d46803..aec6d488 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,8 @@ python: # Executed for 3.5 AND 3.5 as the first "test" stage: script: + - pip install -U pip wheel + - pip install --download-cache /home/travis/.cache/pip . - python setup.py test cache: @@ -19,8 +21,7 @@ jobs: - stage: deploy latest.datasette.io if: branch = master AND type = push script: - - pip install -U pip wheel - - pip install . + - pip install --download-cache /home/travis/.cache/pip . - npm install -g now - python tests/fixtures.py fixtures.db fixtures.json - export ALIAS=`echo $TRAVIS_COMMIT | cut -c 1-7`