diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-17 09:31:44 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-24 16:34:15 +1100 |
commit | 93a27432e132a72ffe1c9b7c9c077e01b2778a1a (patch) | |
tree | 4135535eade8d5d84cc57cf41e14c6114bdb10ff /.travis.yml | |
parent | fc930a3c7bf3237efcfc8a4e04ffc4047a60302c (diff) | |
download | skiboot-93a27432e132a72ffe1c9b7c9c077e01b2778a1a.zip skiboot-93a27432e132a72ffe1c9b7c9c077e01b2778a1a.tar.gz skiboot-93a27432e132a72ffe1c9b7c9c077e01b2778a1a.tar.bz2 |
travis: enable ccache
Primarily this combats the long time it takes to build qemu in
our build scripts. Practically, cuts a couple of minutes from build.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 87e4ec2..a986d07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: c +cache: ccache + env: matrix: - RUN_ON_CONTAINER=ubuntu-12.04 @@ -28,7 +30,7 @@ before_install: script: - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then docker build -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && - docker run --rm -t $RUN_ON_CONTAINER; + docker run --volume $HOME/.ccache:/root/.ccache --rm -t $RUN_ON_CONTAINER; fi - if [ ${COVERITY_SCAN_BRANCH} == 1 ]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && |