Commit 9b8058d509279fccc5fad3b52b5e2fb851eeb0ae

Martin Mitas 2017-08-13T11:47:18

.travis.yml: Make sure we make a debug build. This should be more friendly to code coverage analysis.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/.travis.yml b/.travis.yml
index 9ed5832..fef67c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,10 +15,10 @@ addons:
 before_script:
     - mkdir build
     - cd build
-    - CFLAGS='-g -O0 --coverage' cmake -G 'Unix Makefiles' ..
+    - CFLAGS='--coverage -g -O0' cmake -DCMAKE_BUILD_TYPE=Debug -G 'Unix Makefiles' ..
 
 script:
-    - make
+    - make VERBOSE=1
 
 after_success:
     - ../scripts/run-tests.sh