Skip to content

Commit

Permalink
Enable all of cppcheck's additional checks
Browse files Browse the repository at this point in the history
Note, this reveals a number of minor (mostly sylistic), but valid
issues to be addressed in subsequent commits.
  • Loading branch information
pcolby committed Jul 13, 2016
1 parent 5a9e3bf commit f77d840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ before_script:
- mkdir -p $TRAVIS_BUILD_DIR-clang-scan

script:
- cppcheck --error-exitcode=1 --quiet .
- cppcheck --enable=all --error-exitcode=1 -I include --include=/usr/include/pcp/pmapi.h --quiet .
- pushd $TRAVIS_BUILD_DIR-clang-scan
- scan-build --status-bugs cmake -DCMAKE_BUILD_TYPE=DEBUG $TRAVIS_BUILD_DIR
- scan-build --status-bugs make -j2
Expand Down

0 comments on commit f77d840

Please sign in to comment.