Travis: Fixed compile error, make sure Cppcheck exits with code 1 if error is found
This commit is contained in:
parent
76a13c699d
commit
318d80be08
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue