Add caching to travis
https://docs.travis-ci.com/user/languages/android#Caching
This commit is contained in:
parent
b4211ddc0c
commit
7e7d27505a
@ -17,3 +17,10 @@ before_script:
|
|||||||
#Build, and run tests
|
#Build, and run tests
|
||||||
script: "./gradlew clean assembleDebug testDebugUnitTest"
|
script: "./gradlew clean assembleDebug testDebugUnitTest"
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
before_cache:
|
||||||
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.gradle/caches/
|
||||||
|
- $HOME/.gradle/wrapper/
|
||||||
|
Loading…
Reference in New Issue
Block a user