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 language: java
sudo: false sudo: false
env:
- GRADLE_USER_HOME=gradle-cache before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache: cache:
directories: directories:
- gradle-cache - $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
notifications: notifications:
slack: slack:

Loading…
Cancel
Save