added cppcheck target for travis

This commit is contained in:
Niels committed 2016-08-18 18:29:19 +02:00
1 parent 039cedaf8e
commit d2564c6100
2 files changed
+15 -2

No files matched your search

+14
View File
@@ -41,6 +41,20 @@ matrix:
after_success:
- valgrind --error-exitcode=1 --leak-check=full test/json_unit
# cppcheck
- os: linux
compiler: gcc
env:
- COMPILER=g++-4.9
- SPECIAL=cppcheck
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: [g++-4.9, cppcheck]
after_success:
- make cppcheck
# Coveralls (http://gronlier.fr/blog/2015/01/adding-code-coverage-to-your-c-project/)
- os: linux