Skip to content

Commit

Permalink
Cache the gradle wrapper in travis builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
Capstan committed Sep 30, 2019
1 parent 357a8fb commit 93d7036
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,12 @@ install: {}
script:
- ./gradlew assemble check

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

cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/

0 comments on commit 93d7036

Please sign in to comment.