Improve Travis build speed by storing build cache
This commit is contained in:
parent
1d2cd4b9cf
commit
086fe8b8c8
10
.travis.yml
10
.travis.yml
|
@ -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
|
Loading…
Reference in a new issue