Experiment with cacheing homebrew stuff in Travis

This commit is contained in:
Chris Cannam
2020-09-15 08:37:53 +01:00
parent 61c1cbe91c
commit 6de1ab5b68
2 changed files with 14 additions and 2 deletions

View File

@@ -19,7 +19,16 @@ addons:
- libfftw3-dev
- vamp-plugin-sdk
- ladspa-sdk
cache:
directories:
- $HOME/Library/Caches/Homebrew
- /usr/local/Homebrew
before_cache:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then find /usr/local/Homebrew \! -regex ".+\.git.+" -delete; fi
before_install:
- if [[ "$TRAVIS_OS_NAME" = "osx" ]] ; then brew update ; brew install libsndfile ; fi