summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml18
1 files changed, 11 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml
index 8aa7ed9f..3f4e75ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,9 @@ compiler:
- gcc
- clang
-cache: apt
+cache:
+ - apt
+ - ccache
sudo: false
@@ -18,15 +20,17 @@ addons:
- xsltproc
- zlib1g-dev
-before_script:
- - ./bootstrap
- - ./configure
- - make
+before_script:
+ - ccache -s
+ - ./bootstrap
+ - ./configure CC="ccache $CC" CXX="ccache $CXX"
+ - grep CXX config.status
+ - make
env:
- TEST_TARGET=debug
- TEST_TARGET=release
-script:
+script:
- ./runtest.pl ALL $TEST_TARGET
-
+ - ccache -s