Travis: Fixed compile error, make sure Cppcheck exits with code 1 if error is found

This commit is contained in:
Daniel Marjamäki 2012-09-03 07:45:57 +02:00
parent 76a13c699d
commit 318d80be08
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
language: cpp
compiler:
- gcc
script: make test && g++ -O2 -o cppcheck lib/*.cpp cli/*.cpp && ./cppcheck -q cli gui lib
script: make test && g++ -o cppcheck -O2 cli/*.cpp lib/*.cpp -Ilib && ./cppcheck --error-exitcode=1 -q cli gui lib