summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml30
1 files changed, 19 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 977cbba7..3f4e75ef 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,15 @@
language: cpp
-branches:
- only:
- - master
+
compiler:
- gcc
- clang
-cache: apt
+
+cache:
+ - apt
+ - ccache
+
sudo: false
+
addons:
apt:
packages:
@@ -17,12 +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
-script:
- - ./runtest.pl ALL debug
- - ./runtest.pl ALL release
+env:
+ - TEST_TARGET=debug
+ - TEST_TARGET=release
+script:
+ - ./runtest.pl ALL $TEST_TARGET
+ - ccache -s