summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-19 21:49:04 +0200
committerZenWalker <[email protected]>2019-04-19 23:18:11 +0200
commit16448d688a2cdc3ce32ddb210bc77a4e7f35efff (patch)
tree5b24c679a960282611395fa8871daf9747280b88 /.travis.yml
parent186fca07c5bbdde4e208e019090724dd938400b8 (diff)
downloadmate-control-center-16448d688a2cdc3ce32ddb210bc77a4e7f35efff.tar.bz2
mate-control-center-16448d688a2cdc3ce32ddb210bc77a4e7f35efff.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 bc9956a7..07549a10 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -84,6 +84,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-control-center
- clang
- clang-tools
+ - cppcheck
- curl
- desktop-file-utils
- git
@@ -256,6 +257,9 @@ build_scripts:
- ./autogen.sh
- scan-build $CHECKERS ./configure
- scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 ))
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.22.0' -i'mate-menus-1.22.0' -i'mate-settings-daemon-1.22.0' .
+ - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then