From 7fa15ab9b36383f799fe306a68c2449896f071bd Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 12 Jun 2019 09:47:50 +0200 Subject: travis: enable 'cppcheck' in debian --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index bf2621f..a8b13b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -80,6 +80,7 @@ requires: # Useful URL: https://salsa.debian.org/debian-mate-team/libmatekbd - clang - clang-tools + - cppcheck - git - gobject-introspection - intltool @@ -157,6 +158,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