summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2019-12-23 17:32:19 +0100
committerMax Kellermann <max@musicpd.org>2019-12-24 10:17:37 +0100
commit76cd5f8595d2fb63575142e38453c3e973eb281f (patch)
tree1cd71e4534eeefad3c667f0ba1dc51a9094d5bb1
parent568402584701e1c257d068524b9a81abe28c4447 (diff)
.travis.yml: cache Homebrew on osx
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index ebf733c5f..a84a6bdd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -83,6 +83,11 @@ matrix:
cache:
apt: true
ccache: true
+ directories:
+ - $HOME/Library/Caches/Homebrew
+
+before_cache:
+ - test "$TRAVIS_OS_NAME" != "osx" || brew cleanup
before_install:
- eval "${MATRIX_EVAL}"