File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3333 - /usr/local/Homebrew/
3434 # used in OSX custom build script dealing with local bottle caching
3535 - $HOME/local_bottle_metadata
36+ # `cache: ccache: true` has no effect if `language:` is not `c` or `cpp`
37+ - $HOME/.ccache
3638
3739matrix :
3840 fast_finish : true
Original file line number Diff line number Diff line change @@ -56,6 +56,12 @@ function pre_build {
5656 # see https://docs.brew.sh/Manpage , "info formula" section
5757 export HOMEBREW_NO_GITHUB_API=1
5858
59+ # https://docs.travis-ci.com/user/caching/#ccache-cache
60+ # No need to allow rc 1 -- if this triggers a timeout,
61+ # something is clearly wrong
62+ brew_install_and_cache_within_time_limit ccache
63+ export PATH=" /usr/local/opt/ccache/libexec:$PATH "
64+
5965 echo ' Installing QT4'
6066 brew tap | grep -qxF cartr/qt4 || brew tap -v cartr/qt4
6167 brew tap --list-pinned | grep -qxF cartr/qt4 || brew tap-pin -v cartr/qt4
You can’t perform that action at this time.
0 commit comments