Skip to content
Snippets Groups Projects
Commit f8b8ef3b authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

Travis: let cppcheck fail for new files

Change Travis configuration for cppcheck to fail on new files and keep on
warning about existing ones.
parent 6424ba06
No related branches found
No related tags found
No related merge requests found
...@@ -48,9 +48,11 @@ script: ...@@ -48,9 +48,11 @@ script:
- make -C ./tests/unittests test BOARD=qemu-i386 - make -C ./tests/unittests test BOARD=qemu-i386
- ./dist/tools/licenses/check.sh master - ./dist/tools/licenses/check.sh master
# TODO: # TODO:
# Remove the --error-exitcode=0` when all warnings of cppcheck have been # Remove all but `master` parameters to cppcheck (and remove second
# taken care of in master. # invocation) once all warnings of cppcheck have been taken care of
- ./dist/tools/cppcheck/check.sh master --error-exitcode=0 # in master.
- ./dist/tools/cppcheck/check.sh master --diff-filter=MR --error-exitcode=0
- ./dist/tools/cppcheck/check.sh master --diff-filter=AC
# TODO: # TODO:
# Remove the `AC` argument when all headers have been # Remove the `AC` argument when all headers have been
# taken care of in master. # taken care of in master.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment