Merge pull request #851 from TebbeUbben/dev

Improve Travis build speed by storing build cache
This commit is contained in:
Milos Kozak 2018-04-07 09:31:07 +02:00 committed by GitHub
commit 1759e12baa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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