Merge pull request #1436 from ostcar/travis_cache
Speed up travis with cache for pip and npm.
This commit is contained in:
commit
c6705e687a
@ -1,9 +1,15 @@
|
|||||||
language: python
|
language: python
|
||||||
|
sudo: false
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- node_modules
|
||||||
|
- $HOME/virtualenv/python$TRAVIS_PYTHON_VERSION/lib/python$TRAVIS_PYTHON_VERSION/site-packages/
|
||||||
|
- $HOME/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/
|
||||||
python:
|
python:
|
||||||
- "3.3"
|
- "3.3"
|
||||||
- "3.4"
|
- "3.4"
|
||||||
install:
|
install:
|
||||||
- "pip install -r requirements.txt"
|
- "pip install --upgrade --requirement requirements.txt"
|
||||||
- "npm install"
|
- "npm install"
|
||||||
- "node_modules/.bin/bower install"
|
- "node_modules/.bin/bower install"
|
||||||
- "node_modules/.bin/gulp --production"
|
- "node_modules/.bin/gulp --production"
|
||||||
|
Loading…
Reference in New Issue
Block a user