File tree E
10000
xpand 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 33
33
- /usr/local/Homebrew/
34
34
# used in OSX custom build script dealing with local bottle caching
35
35
- $HOME/local_bottle_metadata
36
+ # `cache: ccache: true` has no effect if `language:` is not `c` or `cpp`
37
+ - $HOME/.ccache
36
38
37
39
matrix :
38
40
fast_finish : true
Original file line number Diff line number Diff line change @@ -56,6 +56,12 @@ function pre_build {
56
56
# see https://docs.brew.sh/Manpage , "info formula" section
57
57
export HOMEBREW_NO_GITHUB_API=1
58
58
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
+
59
65
echo ' Installing QT4'
60
66
brew tap | grep -qxF cartr/qt4 || brew tap -v cartr/qt4
61
67
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