Travis: Use ccache

Part of ticket 26952.
This commit is contained in:
teor
2018-08-09 15:40:27 +10:00
parent 74b3a340df
commit 286a6bc3b8
2 changed files with 9 additions and 0 deletions
+6
View File
@@ -1,5 +1,8 @@
language: c
cache:
ccache: true
compiler:
- gcc
- clang
@@ -94,6 +97,9 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade; fi
install:
## If we're on OSX use brew to install ccache (ccache is automatically installed on Linux)
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ccache; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export PATH="/usr/local/opt/ccache/libexec:$PATH"; fi
## If we're on OSX use brew to install required dependencies (for Linux, see the "apt:" section above)
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libevent; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl; fi
+3
View File
@@ -0,0 +1,3 @@
o Minor features (continuous integration):
- Use ccache in our Travis CI configuration.
Closes ticket 26952.