summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 0479f2a..2bb3c3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -84,6 +84,7 @@ requires:
- autopoint
- clang
- clang-tools
+ - cppcheck
- git
- gobject-introspection
- gtk-doc-tools
@@ -175,6 +176,9 @@ build_scripts:
- else
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
+ - fi
after_scripts:
- if [ ${BUILD_TYPE} == "scripts" ];then