diff options
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 && |