diff options
author | Herbert Thielen <thielen@hs-worms.de> | 2017-09-04 12:06:14 (GMT) |
---|---|---|
committer | Herbert Thielen <thielen@hs-worms.de> | 2017-09-04 16:40:03 (GMT) |
commit | 98f2f152539ed24cce004a14bbd1307215a925cc (patch) | |
tree | 8c2ef4d70b306391f372dff514b5f24abc81a23b | |
parent | 48b06628803c56e90d110f4cd0ca2a11b3132196 (diff) | |
download | googletest-98f2f152539ed24cce004a14bbd1307215a925cc.zip googletest-98f2f152539ed24cce004a14bbd1307215a925cc.tar.gz googletest-98f2f152539ed24cce004a14bbd1307215a925cc.tar.bz2 |
install ccache on travis osx build slave
-rw-r--r-- | .travis.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index e517782..b7ee780 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ install: - if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi # /usr/bin/clang is 3.4, lets override with modern one. - if [ "$CXX" = "clang++" ] && [ "$TRAVIS_OS_NAME" = "linux" ]; then export CXX="clang++-3.7" CC="clang-3.7"; fi +# ccache on OS X needs installation first +- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew install ccache; export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi - echo ${PATH} - echo ${CXX} - ${CXX} --version |