summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-12-30 20:56:31 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2014-12-30 20:56:31 +0100
commit0d86b9e116d6b0776a96adf69842d1237b0f2fe4 (patch)
tree91b5ec44bbd0b9da0f43bc4bb7bb3d2fc916b767 /.travis.yml
parentf2abaf98a92e859372c543022f75c8436f4fa913 (diff)
downloadjasper-client-0d86b9e116d6b0776a96adf69842d1237b0f2fe4.tar.gz
jasper-client-0d86b9e116d6b0776a96adf69842d1237b0f2fe4.zip
Use Travis-CI's caching for pip requirements
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index c36447d..430948d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,11 +4,15 @@ language: python
sudo: false
python:
- "2.7"
+cache:
+ directories:
+ - "$HOME/.pip-cache/"
+ - "/home/travis/virtualenv/python2.7"
install:
- - "pip install -r client/requirements.txt"
- - "pip install python-coveralls"
- - "pip install coverage"
- - "pip install flake8"
+ - "pip install -r client/requirements.txt --download-cache $HOME/.pip-cache"
+ - "pip install python-coveralls --download-cache $HOME/.pip-cache"
+ - "pip install coverage --download-cache $HOME/.pip-cache"
+ - "pip install flake8 --download-cache $HOME/.pip-cache"
before_script:
- "flake8 jasper.py client tests"
script: