travis: use suppression list to suppress warnings.
This commit is contained in:
parent
0cfd60aa34
commit
8ae3df3249
|
@ -20,7 +20,7 @@ script:
|
|||
# compile cppcheck, default build
|
||||
- make -j4
|
||||
- make test -j4
|
||||
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppress=duplicateBranch cli gui lib build -igui/test
|
||||
- ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppressions-list=.travis_suppressions cli gui lib build -igui/test
|
||||
# compile gui
|
||||
- cd gui
|
||||
- qmake
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
uselessAssignmentPtrArg:build/checkstl.cpp
|
||||
assertWithSideEffect:build/checkuninitvar.cpp
|
||||
duplicateBranch:build/checkunusedvar.cpp
|
||||
duplicateBranch:lib/checkunusedvar.cpp
|
Loading…
Reference in New Issue