Unverified Commit 286a6bc3 authored by teor's avatar teor
Browse files

Travis: Use ccache

Part of ticket 26952.
parent 74b3a340
language: c language: c
cache:
ccache: true
compiler: compiler:
- gcc - gcc
- clang - clang
...@@ -94,6 +97,9 @@ before_install: ...@@ -94,6 +97,9 @@ before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade; fi
install: 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 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 libevent; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install openssl; fi
......
o Minor features (continuous integration):
- Use ccache in our Travis CI configuration.
Closes ticket 26952.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment