diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2014-12-30 20:58:16 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2014-12-30 20:58:16 +0100 |
| commit | b188e8029c850b5deb1a90114845a116dd814260 (patch) | |
| tree | 91b5ec44bbd0b9da0f43bc4bb7bb3d2fc916b767 | |
| parent | f2abaf98a92e859372c543022f75c8436f4fa913 (diff) | |
| parent | 0d86b9e116d6b0776a96adf69842d1237b0f2fe4 (diff) | |
| download | jasper-client-b188e8029c850b5deb1a90114845a116dd814260.tar.gz jasper-client-b188e8029c850b5deb1a90114845a116dd814260.zip | |
Merge pull request #272 from Holzhaus/use-travis-caching
Use Travis-CI's caching for pip requirements
| -rw-r--r-- | .travis.yml | 12 |
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: |
