added cppcheck target for travis
This commit is contained in:
1 parent
039cedaf8e
commit
d2564c6100
2 files changed
+15
-2
No files matched your search
@@ -64,8 +64,7 @@ fuzz: test/src/fuzz.cpp src/json.hpp
|
||||
|
||||
# call cppcheck on the main header file
|
||||
cppcheck:
|
||||
cppcheck --enable=all --inconclusive --std=c++11 src/json.hpp
|
||||
|
||||
cppcheck --enable=warning --inconclusive --force --std=c++11 src/json.hpp --error-exitcode=1
|
||||
|
||||
##########################################################################
|
||||
# maintainer targets
|
||||
|
||||
Reference in new issue
Block a user