From 9b1f0f776121b930380ff991780d00797c5618e6 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 17 Apr 2019 01:08:28 +0200 Subject: travis: enable cppcheck only in debian and disable it in other distros --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 227a1651..52bfb932 100644 --- a/.travis.yml +++ b/.travis.yml @@ -184,6 +184,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