From 6e205b4f2aa03ee1fd3d0f002c5e801ef0ce0857 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Tue, 25 Jun 2019 02:14:07 +0200 Subject: travis: enable 'cppcheck' in debian --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 1d02da4..3042303 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,6 +87,7 @@ requires: # Useful URL: https://salsa.debian.org/debian-mate-team/mate-power-manager - clang - clang-tools + - cppcheck - gcc - git - intltool @@ -187,6 +188,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} == "debian" ];then -- cgit v1.2.1