summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-06-12 09:47:50 +0200
committerPablo Barciela <[email protected]>2019-06-12 09:47:50 +0200
commit7fa15ab9b36383f799fe306a68c2449896f071bd (patch)
tree94549d6b597476c8efcae6d054d37ca235bbd96c
parent6e616ede3ea16d59ec037c87d3f589ce65f1e70c (diff)
downloadlibmatekbd-7fa15ab9b36383f799fe306a68c2449896f071bd.tar.bz2
libmatekbd-7fa15ab9b36383f799fe306a68c2449896f071bd.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 bf2621f..a8b13b1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -80,6 +80,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/libmatekbd
- clang
- clang-tools
+ - cppcheck
- git
- gobject-introspection
- intltool
@@ -157,6 +158,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