add homebrew cache to cache (#3776)

* add homebrew cache to cache

* use same image

* ruuun travis, ruunn

* remove extra space

* do these dashes do this?

* trigger ci

* these dashes confuse me, consistency is like woosh
This commit is contained in:
ebbit1q 2019-07-11 15:21:35 +02:00 committed by Zach H
parent f4adf79ad9
commit 5139039402

View file

@ -87,8 +87,11 @@ matrix:
- name: macOS (Debug)
if: tag IS NOT present
os: osx
osx_image: xcode10.1
cache: ccache
osx_image: xcode9.2
cache:
- ccache
- directories:
- $HOME/Library/Caches/Homebrew
addons:
homebrew:
packages:
@ -98,12 +101,18 @@ matrix:
- xz
update: true
script: bash ./.ci/travis-compile.sh --server --install --debug
before_cache:
- brew cleanup
- name: macOS (Release)
if: (branch = master AND NOT type = pull_request) OR tag IS present
os: osx
osx_image: xcode9.2
cache: ccache
cache:
- ccache
- directories:
- $HOME/Library/Caches/Homebrew
addons:
homebrew:
packages:
@ -113,6 +122,9 @@ matrix:
- xz
update: true
script: bash ./.ci/travis-compile.sh --server --package "$TRAVIS_OS_NAME" --release
before_cache:
- brew cleanup
# Builds for pull requests skip the deployment step altogether
deploy: