Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ab4cdb3

Browse files
committed
Cache pip downloads.
1 parent 3191e44 commit ab4cdb3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@ language: python
22
python: '2.6'
33
addons:
44
firefox: "25.0.1"
5+
cache:
6+
directories:
7+
- $HOME/.pip-cache/
58
install:
6-
- pip install ansible
7-
- pip install dopy
9+
- pip install ansible --download-cache $HOME/.pip-cache
10+
- pip install dopy --download-cache $HOME/.pip-cache
811
before_script:
912
- ansible-playbook -i hosts --extra-vars "api_key_password=$DO_API_KEY client_id=$DO_CLIENT_ID" do_cluster.yml
1013
- "export DISPLAY=:99.0"

0 commit comments

Comments
 (0)