summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-21 00:26:24 +0200
committerZenWalker <[email protected]>2019-04-21 13:48:11 +0200
commit86e0f894c7bce58c4dd6b95a97984d00d3eff6be (patch)
tree93bb0a1bcfb1f7a8a7cac97edd9bc171333cc904 /.travis.yml
parent0de1436ca6e8926675f8d0cc75eae7d8331e7b9d (diff)
downloadeom-86e0f894c7bce58c4dd6b95a97984d00d3eff6be.tar.bz2
eom-86e0f894c7bce58c4dd6b95a97984d00d3eff6be.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 805759b..2e761f4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -87,6 +87,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/eom
- clang
- clang-tools
+ - cppcheck
- git
- gobject-introspection
- gtk-doc-tools
@@ -195,6 +196,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