aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rwxr-xr-xci/before_install.sh4
-rwxr-xr-xci/install.sh2
3 files changed, 5 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 5514b1298a..93caf9ef75 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -117,6 +117,11 @@ addons:
- unzip
- valgrind
- xclip
+ homebrew:
+ update: true
+ packages:
+ - ccache
+ - ninja
branches:
only:
diff --git a/ci/before_install.sh b/ci/before_install.sh
index 86dd78af48..d8cf38d314 100755
--- a/ci/before_install.sh
+++ b/ci/before_install.sh
@@ -7,10 +7,6 @@ if [[ "${CI_TARGET}" == lint ]]; then
exit
fi
-if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
- >/dev/null brew update
-fi
-
echo 'python info:'
(
2>&1 python --version || true
diff --git a/ci/install.sh b/ci/install.sh
index 7efbaf33b5..3eea63315d 100755
--- a/ci/install.sh
+++ b/ci/install.sh
@@ -8,8 +8,6 @@ if [[ "${CI_TARGET}" == lint ]]; then
fi
if [[ "${TRAVIS_OS_NAME}" == osx ]]; then
- brew install ccache
- brew install ninja
export PATH="/usr/local/opt/ccache/libexec:$PATH"
fi