diff --git a/.travis.yml b/.travis.yml index 9c8bfcc38..06618fe11 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/.travis_suppressions b/.travis_suppressions new file mode 100644 index 000000000..3e314b88e --- /dev/null +++ b/.travis_suppressions @@ -0,0 +1,4 @@ +uselessAssignmentPtrArg:build/checkstl.cpp +assertWithSideEffect:build/checkuninitvar.cpp +duplicateBranch:build/checkunusedvar.cpp +duplicateBranch:lib/checkunusedvar.cpp