Speed up travis with cache for pip and node

This commit is contained in:
Oskar Hahn 2015-01-25 20:53:17 +01:00
parent 19fb7018af
commit 2e9b05eb5a

View File

@ -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"