From 6a3e391f1784d38c0a54135e567457a8a502e4ac Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Tue, 19 Jun 2018 00:07:58 +0200 Subject: [PATCH] Cache homebrew cache on travis --- .travis.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 29c25fe2..1cefdcb2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,10 @@ os: - linux - osx -cache: cargo +cache: + cargo: true + directories: + - $HOME/Library/Caches/Homebrew addons: apt: @@ -27,7 +30,7 @@ addons: - qemu-system-x86 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: - rustup component add rust-src