From 16448d688a2cdc3ce32ddb210bc77a4e7f35efff Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Fri, 19 Apr 2019 21:49:04 +0200 Subject: travis: enable 'cppcheck' in debian --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index bc9956a7..07549a10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,6 +84,7 @@ requires: # Useful URL: https://salsa.debian.org/debian-mate-team/mate-control-center - clang - clang-tools + - cppcheck - curl - desktop-file-utils - git @@ -256,6 +257,9 @@ build_scripts: - ./autogen.sh - scan-build $CHECKERS ./configure - scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 )) + - if [ ${DISTRO_NAME} == "debian" ];then + - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.22.0' -i'mate-menus-1.22.0' -i'mate-settings-daemon-1.22.0' . + - fi after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then -- cgit v1.2.1