summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-10-28 09:04:54 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2013-10-28 09:34:35 +0100
commitb410ce0ced187d4c0dae2479f84a17a0898b280d (patch)
treea3974a78e5a41820c36f561e3e23c78a752e2c37 /.travis.yml
parent907a7e5cf8c624c49a03c837c206bdb582a3f7d5 (diff)
downloaduca-b410ce0ced187d4c0dae2479f84a17a0898b280d.tar.gz
uca-b410ce0ced187d4c0dae2479f84a17a0898b280d.tar.bz2
uca-b410ce0ced187d4c0dae2479f84a17a0898b280d.tar.xz
uca-b410ce0ced187d4c0dae2479f84a17a0898b280d.zip
Travis: build debug and release
For now the Clang/Release combination is excluded as it gets stuck in a futex deadlock. Apparently, this has something to do with the way a GModule is called.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 51c6daa..1dc2872 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,12 +1,24 @@
language: c
+
compiler:
- clang
- gcc
+
+env:
+ - BUILD_TYPE=Debug
+ - BUILD_TYPE=Release
+
+matrix:
+ exclude:
+ - compiler: clang
+ env: BUILD_TYPE=Release
+
before_script:
- sudo apt-get install cmake libglib2.0-dev
- mkdir build
- cd build
- - cmake ..
+ - cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE
+
script:
- make
- ./test/test-mock