cppcheck is 'a static analysis tool for C/C++ code' [1].
Some Travis CI examples:
- Add cppcheck: travis_qmake_gcc_cpp98_cppcheck
- Add cppcheck: travis_qmake_gcc_cpp11_cppcheck
- Add cppcheck: travis_qmake_gcc_cpp14_cppcheck
cppcheck is 'a static analysis tool for C/C++ code' [1].
Some Travis CI examples: