From 3419256941ac720e6007e412bbe511478d1bd238 Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sat, 30 Apr 2016 17:48:25 -0400 Subject: [PATCH] travis: use cache rules from docs --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 977ecce4c..c7b894c84 100644 --- a/.travis.yml +++ b/.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: