From 21ce65146a3f61b7a1e6996c489f4b2801f46968 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20T=C5=AFma?= Date: Fri, 30 Jul 2021 23:41:50 +0200 Subject: [PATCH] Cache homebrew packages between builds --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index c6ee50f5..8aa1019f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,13 @@ os: dist: focal osx_image: xcode12 +cache: + directories: + - $HOME/Library/Caches/Homebrew + +before_cache: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cleanup; fi + addons: homebrew: packages: