aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-09-03 15:26:45 +0200
committerAlex Bennée <alex.bennee@linaro.org>2019-09-10 14:14:32 +0100
commit0d8773c2880bb068e58b2551d6d031938068580a (patch)
treecfe4f9dfa9a8c62db131bcaa75fe50f17a3fbb6a /.travis.yml
parentbcfbf0d56e9fc9c716a88bc8862004b1b90d7a6e (diff)
downloadqemu-0d8773c2880bb068e58b2551d6d031938068580a.zip
qemu-0d8773c2880bb068e58b2551d6d031938068580a.tar.gz
qemu-0d8773c2880bb068e58b2551d6d031938068580a.tar.bz2
.travis.yml: Enable ccache on OSX
By default, ccache is not installed on macOS environments. See https://docs.travis-ci.com/user/caching/#ccache-on-macos Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 7d6c63a..3d1c7f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -45,6 +45,7 @@ addons:
- gcovr
homebrew:
packages:
+ - ccache
- glib
- pixman
- gnu-sed
@@ -80,6 +81,7 @@ git:
before_script:
+ - if [ "$TRAVIS_OS_NAME" == "osx" ] ; then export PATH="/usr/local/opt/ccache/libexec:$PATH" ; fi
- command -v ccache && ccache --zero-stats
- mkdir -p ${BUILD_DIR} && cd ${BUILD_DIR}
- ${SRC_DIR}/configure ${BASE_CONFIG} ${CONFIG} || { cat config.log && exit 1; }