diff --git a/.travis.yml b/.travis.yml index ac29f8300..02195d586 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,3 +17,10 @@ before_script: #Build, and run tests script: "./gradlew clean assembleDebug testDebugUnitTest" sudo: false + +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock +cache: + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/