Skip to content

Commit

Permalink
Merge pull request #94 from Yelp/cache-pip
Browse files Browse the repository at this point in the history
Cache pip and pre-commit folders
  • Loading branch information
cortinico committed Feb 4, 2020
2 parents a129545 + 0f5e80d commit 91bddec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,17 @@ android:

before_cache:
- rm -f ${HOME}/.gradle/caches/modules-2/modules-2.lock
- rm -fr ${HOME}/.gradle/caches/*/plugin-resolution/

cache:
pip: true
directories:
- ${HOME}/.gradle/caches/
- ${HOME}/.cache/pre-commit/
- ${HOME}/.gradle/wrapper/
- ${HOME}/.m2

script:
- make test

after_success:
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 91bddec

Please sign in to comment.