From 9ef1f10319257bfc725097cfc92a6b0db0578830 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 24 Dec 2019 11:18:08 +0100 Subject: [PATCH] .travis.yml: install brew packages using `addons/homebrew` --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 106be0019..bcf1e5b9d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -77,6 +77,11 @@ matrix: - os: osx osx_image: xcode9.4 + addons: + homebrew: + packages: + - ccache + - meson env: - MATRIX_EVAL="export PATH=/usr/local/opt/ccache/libexec:$PATH HOMEBREW_NO_ANALYTICS=1" @@ -99,7 +104,6 @@ install: # belonging to nss. You can unlink it" during gtest install - test "$TRAVIS_OS_NAME" != "osx" || brew unlink nss - - test "$TRAVIS_OS_NAME" != "osx" || brew install ccache meson - test "$TRAVIS_OS_NAME" != "osx" || brew install --HEAD https://gist.githubusercontent.com/Kronuz/96ac10fbd8472eb1e7566d740c4034f8/raw/gtest.rb before_script: