summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-19 00:13:07 +0200
committerZenWalker <[email protected]>2019-04-19 00:27:52 +0200
commit741d0b692910ceab338b4b67e440c6ae426ab1f6 (patch)
tree74183399bf03f1d414a98ffaa30ea0dbdd72705e
parentd6fb7b35b8fdf499f8d2c693e446bf502068b344 (diff)
downloadmate-calc-741d0b692910ceab338b4b67e440c6ae426ab1f6.tar.bz2
mate-calc-741d0b692910ceab338b4b67e440c6ae426ab1f6.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 2f4ec56..918e0be 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -79,6 +79,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-calc
- clang
- clang-tools
+ - cppcheck
- gcc
- git
- libatk1.0-dev
@@ -149,6 +150,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