From e1a5487c70412f796ca810504df119654b639600 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 9 Jan 2014 22:46:26 +0100 Subject: [PATCH] travis: let cppcheck check most of the repo, but suppress files/warnings that we don't care about via suppression file. --- .travis.yml | 2 +- .travis_suppressions | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b96009897..bdb77e223 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 --suppressions-list=.travis_suppressions cli gui lib build test -igui/test -itest/test.cxx + - ./cppcheck --error-exitcode=1 -Ilib --enable=style --suppressions-list=.travis_suppressions . # compile gui - cd gui - qmake diff --git a/.travis_suppressions b/.travis_suppressions index 3e314b88e..0a647d8a6 100644 --- a/.travis_suppressions +++ b/.travis_suppressions @@ -1,4 +1,14 @@ uselessAssignmentPtrArg:build/checkstl.cpp assertWithSideEffect:build/checkuninitvar.cpp duplicateBranch:build/checkunusedvar.cpp -duplicateBranch:lib/checkunusedvar.cpp +duplicateBranch:lib/checkunusedvar.cpp +*:gui/test* +*:test/test.cxx + +*:democlient* +*:externals* +*:htdocs* +*:htmlreport* +*:samples* +*:tools* +*:win_installer*