summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-23 14:48:11 +0200
committerZenWalker <[email protected]>2019-04-23 15:19:57 +0200
commite98858d43feb08d52ba6e1f39532f618b1a2cc01 (patch)
treea0d73a60fa2a9144c37b3451e110d2cffefb3bf2
parent2eecc1389276a904eef86973fe383c3772ec215d (diff)
downloadmate-desktop-e98858d43feb08d52ba6e1f39532f618b1a2cc01.tar.bz2
mate-desktop-e98858d43feb08d52ba6e1f39532f618b1a2cc01.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 0479f2a..2bb3c3c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -84,6 +84,7 @@ requires:
- autopoint
- clang
- clang-tools
+ - cppcheck
- git
- gobject-introspection
- gtk-doc-tools
@@ -175,6 +176,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 [ ${BUILD_TYPE} == "scripts" ];then