Merge pull request #1436 from ostcar/travis_cache

Speed up travis with cache for pip and npm.
This commit is contained in:
Norman Jäckel 2015-02-05 14:59:28 +01:00
commit c6705e687a

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"