Skip to content

Commit

Permalink
Use Travis-CI's caching for pip requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
Holzhaus committed Dec 30, 2014
1 parent 5511a58 commit fc5db4b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fc5db4b

Please sign in to comment.