From 73b4fb09dc04d8f9ab9ddb958b6ffad813e4dce8 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Tue, 9 Apr 2019 15:38:46 +0800 Subject: [PATCH] Reduce macOS CI build time The `homebrew: update: true` directive updates the whole macOS env which is unnecessary and increases build time excessively. This commit reverts back to the old way. Also the pre-installed cmake & pkg-config version is sufficient so no need to outdate them. --- .travis.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0fd88b6e7..314ae8658 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,15 +67,6 @@ addons: - zlib1g-dev # required for Qt 5.9 from 'beineri' PPA - libgl1-mesa-dev - homebrew: - update: true - packages: - - [ccache, colormake] - - boost - - libtorrent-rasterbar - - openssl - - qt - - zlib before_install: # only allow specific build for coverity scan, others will stop @@ -125,8 +116,8 @@ install: # dependencies PATH="/usr/local/opt/ccache/libexec:$PATH" - brew outdated cmake || brew upgrade cmake - brew outdated pkg-config || brew upgrade pkg-config + brew update > /dev/null + brew install ccache colormake boost libtorrent-rasterbar openssl qt zlib brew link --force qt zlib if [ "$build_system" = "cmake" ]; then