Skip to content

Commit f6a35f3

Browse files
author
Daniel Kroening
authored
Merge pull request #783 from forejtv/osx-travis-speedup
Speed up OSX builds on Travis
2 parents 893e219 + 4b42ad6 commit f6a35f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ matrix:
2424
before_install:
2525
#we create symlink to non-ccache gcc, to be used in tests
2626
- mkdir bin ; ln -s /usr/bin/gcc bin/gcc
27-
- brew install ccache
27+
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
2828
- export PATH=/usr/local/opt/ccache/libexec:$PATH
29+
- ccache -M 1G
2930
env: COMPILER=g++
3031

3132
# OS X using clang++
@@ -34,11 +35,12 @@ matrix:
3435
compiler: clang
3536
cache: ccache
3637
before_install:
37-
- brew install ccache
38+
- HOMEBREW_NO_AUTO_UPDATE=1 brew install ccache
3839
- export PATH=/usr/local/opt/ccache/libexec:$PATH
3940
env:
4041
- COMPILER="ccache clang++ -Qunused-arguments -fcolor-diagnostics"
4142
- CCACHE_CPP2=yes
43+
- ccache -M 1G
4244

4345
# Ubuntu Linux with glibc using g++-5
4446
- os: linux

0 commit comments

Comments
 (0)