summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-25 02:14:07 +0200
committerPablo Barciela <[email protected]>2019-06-25 02:14:07 +0200
commit6e205b4f2aa03ee1fd3d0f002c5e801ef0ce0857 (patch)
tree61a0ae9d7c701b178cb74449f1a18dadd75510b7 /.travis.yml
parente7ea8fc23646c26158570d462a283ac0fe7c8ecc (diff)
downloadmate-power-manager-6e205b4f2aa03ee1fd3d0f002c5e801ef0ce0857.tar.bz2
mate-power-manager-6e205b4f2aa03ee1fd3d0f002c5e801ef0ce0857.tar.xz
travis: enable 'cppcheck' in debian
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 4 insertions, 0 deletions
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