From 5ced1f590bcfe50de333e77eb5d40953a8faaa1c Mon Sep 17 00:00:00 2001 From: DRC Date: Thu, 18 Jul 2019 14:25:25 -0500 Subject: [PATCH] Travis: Cache Homebrew downloads ... to speed up the Mac CI builds. --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 04eff2c..4bbe022 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,6 +57,13 @@ addons: brewfile: true update: true +cache: + directories: + - $HOME/Library/Caches/Homebrew + +before_cache: + - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi + before_install: - if [ "$TRAVIS_OS_NAME" = "osx" ]; then git clone --depth=1 https://github.com/libjpeg-turbo/gas-preprocessor.git ~/src/gas-preprocessor && -- 2.50.1