Improve Travis build speed by storing build cache

This commit is contained in:
TebbeUbben 2018-04-06 21:51:55 +02:00
parent 1d2cd4b9cf
commit 086fe8b8c8

View file

@ -22,3 +22,13 @@ script:
after_success:
- bash <(curl -s https://codecov.io/bash)
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