summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-10-28 01:36:13 -0700
committerMatthias Vogelgesang <matthias.vogelgesang@gmail.com>2013-10-28 01:36:13 -0700
commit23211065e9be0d02f5a93c7ab1b6a95e0b38a7ba (patch)
treea3974a78e5a41820c36f561e3e23c78a752e2c37
parent907a7e5cf8c624c49a03c837c206bdb582a3f7d5 (diff)
parentb410ce0ced187d4c0dae2479f84a17a0898b280d (diff)
downloaduca-23211065e9be0d02f5a93c7ab1b6a95e0b38a7ba.tar.gz
uca-23211065e9be0d02f5a93c7ab1b6a95e0b38a7ba.tar.bz2
uca-23211065e9be0d02f5a93c7ab1b6a95e0b38a7ba.tar.xz
uca-23211065e9be0d02f5a93c7ab1b6a95e0b38a7ba.zip
Merge pull request #11 from ufo-kit/build-debug-release
Travis: build debug and release
-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