summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-28 11:52:12 +0200
committerPablo Barciela <[email protected]>2019-05-28 12:10:09 +0200
commitb05f91050a58b688b615e030f711af1b5845b18b (patch)
tree576d592a335eaa7f75896543256da4a1dfa32942
parentca4df37f23d668f92932b50c1d03e0ea6b5a5b8b (diff)
downloadmate-sensors-applet-b05f91050a58b688b615e030f711af1b5845b18b.tar.bz2
mate-sensors-applet-b05f91050a58b688b615e030f711af1b5845b18b.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 57aa9f1..0a7bb4a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -82,6 +82,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-sensors-applet
- clang
- clang-tools
+ - cppcheck
- gcc
- git
- intltool
@@ -163,6 +164,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