summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-05-16 11:55:50 +0200
committerZenWalker <[email protected]>2019-05-16 12:50:12 +0200
commita70a2a243bafc143bdcebe82ac788d54c851c027 (patch)
tree9d4a6fb9a348ea7eaa97531b4f4851d83ef01430 /.travis.yml
parent48ed97624da66ef072c787e452de6eea307084df (diff)
downloadmate-terminal-a70a2a243bafc143bdcebe82ac788d54c851c027.tar.bz2
mate-terminal-a70a2a243bafc143bdcebe82ac788d54c851c027.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 795ce6e..cf7bc68 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -81,6 +81,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-terminal
- clang
- clang-tools
+ - cppcheck
- gcc
- git
- intltool
@@ -158,6 +159,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