From 2b7002e62d721f5eb50461e4c4c70a6ef643ec1d Mon Sep 17 00:00:00 2001 From: John Scancella Date: Thu, 5 Jul 2018 14:29:00 -0400 Subject: [PATCH] add back in travis caching --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 6118eae15..def8ffe2f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,6 +23,15 @@ language: java git: depth: 3 +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/ + #include the conformance suite repo before_install: "git clone --depth 3 https://github.com/loc-rdc/bagit-conformance-suite.git" install: true #skip having travis-ci trying te run assemble