From dd816a02a0131df6ad3d0bb953402987a315c122 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 697b647ca..bb6c6c0ea 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: