From e98858d43feb08d52ba6e1f39532f618b1a2cc01 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 23 Apr 2019 14:48:11 +0200 Subject: travis: enable 'cppcheck' in debian --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.1