travis: use cache rules from docs

cleanup_build_scripts
Kirill Vainer 9 years ago
parent 2a0a9e7b6e
commit 3419256941
  1. 8
      .travis.yml

@ -1,11 +1,13 @@
language: java
sudo: false
env:
- GRADLE_USER_HOME=gradle-cache
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- gradle-cache
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
notifications:
slack:

Loading…
Cancel
Save