From 4b42ad66f7f3378bcc0569a23832a51aa24f7074 Mon Sep 17 00:00:00 2001 From: Vojtech Forejt Date: Fri, 7 Apr 2017 16:16:40 +0100 Subject: [PATCH] Speed up OSX builds on Travis. Do not autoupdate Homebrew, and limit cache size to 1G. --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 54078b93f76..a2396927dab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,8 +24,9 @@ matrix: before_install: #we create symlink to non-ccache gcc, to be used in tests - mkdir bin ; ln -s /usr/bin/gcc bin/gcc - - brew install ccache + - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache - export PATH=/usr/local/opt/ccache/libexec:$PATH + - ccache -M 1G env: COMPILER=g++ # OS X using clang++ @@ -34,11 +35,12 @@ matrix: compiler: clang cache: ccache before_install: - - brew install ccache + - HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache - export PATH=/usr/local/opt/ccache/libexec:$PATH env: - COMPILER="ccache clang++ -Qunused-arguments -fcolor-diagnostics" - CCACHE_CPP2=yes + - ccache -M 1G # Ubuntu Linux with glibc using g++-5 - os: linux