Skip to content

Commit

Permalink
Enable caching of gradle for faster travis builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ekigamba committed Oct 15, 2018
1 parent 7413421 commit 5c655cc
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 @@ -5,6 +5,15 @@ sudo: required
jdk: oraclejdk8
dist: precise

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/

env:
matrix:
- ANDROID_TARGET=android-22 ANDROID_ABI=armeabi-v7a
Expand Down

0 comments on commit 5c655cc

Please sign in to comment.