mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Tell pip to use explicit download cache
This commit is contained in:
parent
749b6f0d74
commit
b9046332c4
1 changed files with 3 additions and 2 deletions
|
|
@ -7,6 +7,8 @@ python:
|
||||||
|
|
||||||
# Executed for 3.5 AND 3.5 as the first "test" stage:
|
# Executed for 3.5 AND 3.5 as the first "test" stage:
|
||||||
script:
|
script:
|
||||||
|
- pip install -U pip wheel
|
||||||
|
- pip install --download-cache /home/travis/.cache/pip .
|
||||||
- python setup.py test
|
- python setup.py test
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
|
@ -19,8 +21,7 @@ jobs:
|
||||||
- stage: deploy latest.datasette.io
|
- stage: deploy latest.datasette.io
|
||||||
if: branch = master AND type = push
|
if: branch = master AND type = push
|
||||||
script:
|
script:
|
||||||
- pip install -U pip wheel
|
- pip install --download-cache /home/travis/.cache/pip .
|
||||||
- pip install .
|
|
||||||
- npm install -g now
|
- npm install -g now
|
||||||
- python tests/fixtures.py fixtures.db fixtures.json
|
- python tests/fixtures.py fixtures.db fixtures.json
|
||||||
- export ALIAS=`echo $TRAVIS_COMMIT | cut -c 1-7`
|
- export ALIAS=`echo $TRAVIS_COMMIT | cut -c 1-7`
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue