Merge pull request #245 from j2ghz/patch-1

Add caching to Travis
This commit is contained in:
inorichi 2016-04-09 17:57:55 +02:00
commit 8c9db2db61

View file

@ -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/