Add debug-mode tests to Travis

This commit is contained in:
heinrich5991 2017-09-28 03:01:12 +02:00
parent f16059c0b8
commit 0705092fb9

View file

@ -20,6 +20,8 @@ script:
- make everything
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then make run_tests; fi
- make package_default
- cd ..
- if [ "$TRAVIS_OS_NAME" != "osx" ]; then mkdir build_debug; cd build_debug; cmake -Werror=dev -DGTEST_LIBRARY=../gtest_build/libgtest.a -DGTEST_MAIN_LIBRARY=../gtest_build/libgtest_main.a -DCMAKE_BUILD_TYPE=Debug ..; make run_tests; cd ..; fi
env:
global:
- CFLAGS="-Wdeclaration-after-statement -Werror"