Cache homebrew cache on travis

This commit is contained in:
Philipp Oppermann
2018-06-19 00:07:58 +02:00
parent deaf48e319
commit 6a3e391f17

View File

@@ -19,7 +19,10 @@ os:
- linux - linux
- osx - osx
cache: cargo cache:
cargo: true
directories:
- $HOME/Library/Caches/Homebrew
addons: addons:
apt: apt:
@@ -27,7 +30,7 @@ addons:
- qemu-system-x86 - qemu-system-x86
install: install:
- if [ $TRAVIS_OS_NAME = osx ]; then brew install qemu; fi - if [ $TRAVIS_OS_NAME = osx ]; then brew update; brew install qemu; fi
before_script: before_script:
- rustup component add rust-src - rustup component add rust-src