From c512f01489339c6b1cfc6ea4088f9ad7731fa869 Mon Sep 17 00:00:00 2001 From: Martin Holman Date: Mon, 2 Jul 2018 10:29:18 -0700 Subject: [PATCH] Cache bundler and android dependencies Copy-pasta the android .travis.yml cache lines --- .travis.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.travis.yml b/.travis.yml index 11ba205e6..c43644b03 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,14 @@ os: osx osx_image: xcode9.3 +before_cache: + - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock + - rm -fr $HOME/.gradle/caches/*/plugin-resolution/ +cache: + bundler: true + directories: + - $HOME/.gradle/caches/ + - $HOME/.gradle/wrapper/ + - $HOME/.android/build-cache env: global: - TERM=dumb