summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
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