From b410ce0ced187d4c0dae2479f84a17a0898b280d Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Mon, 28 Oct 2013 09:04:54 +0100 Subject: 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. --- .travis.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3