summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-07-06 14:17:07 +0200
committerPablo Barciela <[email protected]>2019-07-06 14:17:07 +0200
commit96c8c25a8fdcf5e96f1f4aa917a0c83e7fee5eed (patch)
tree6731b48d5f7a64d7b6b29de41f50f66bfbf97b98
parent8926686f2723fc732a970228580c5300b8868457 (diff)
downloadmate-polkit-96c8c25a8fdcf5e96f1f4aa917a0c83e7fee5eed.tar.bz2
mate-polkit-96c8c25a8fdcf5e96f1f4aa917a0c83e7fee5eed.tar.xz
travis: enable 'cppcheck' in debian
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 17774d6..d0204e1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,6 +79,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-polkit
- clang
- clang-tools
+ - cppcheck
- gcc
- git
- libappindicator3-dev
@@ -144,6 +145,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