Skip to content

Commit

Permalink
FIX #38 : Add cache to Travis CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume Husta committed Dec 6, 2017
1 parent 0d4a7b0 commit 711ed7f
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 @@ -16,3 +16,12 @@ script:
- echo "Travis branch is $TRAVIS_BRANCH"
- ./gradlew assembleDebug
- ls -lh app/build/outputs/apk/debug/

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/
- $HOME/.android/build-cache

0 comments on commit 711ed7f

Please sign in to comment.