From 86e0f894c7bce58c4dd6b95a97984d00d3eff6be Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sun, 21 Apr 2019 00:26:24 +0200 Subject: travis: enable 'cppcheck' in debian --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 805759b..2e761f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,6 +87,7 @@ requires: # Useful URL: https://salsa.debian.org/debian-mate-team/eom - clang - clang-tools + - cppcheck - git - gobject-introspection - gtk-doc-tools @@ -195,6 +196,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 [ ${DISTRO_NAME} == "fedora" ];then -- cgit v1.2.1