mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Cache pip wheels between runs in Travis, refs #323
This commit is contained in:
parent
e7566cc59d
commit
749b6f0d74
1 changed files with 5 additions and 0 deletions
|
|
@ -9,12 +9,17 @@ python:
|
||||||
script:
|
script:
|
||||||
- python setup.py test
|
- python setup.py test
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.cache/pip
|
||||||
|
|
||||||
# This defines further stages that execute after the tests
|
# This defines further stages that execute after the tests
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- 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 .
|
- 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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue