summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-10 20:21:31 +0200
committerZenWalker <[email protected]>2019-04-10 22:15:31 +0200
commit905d98eea89f8aa45efc153dc7816e7a25eb3f64 (patch)
treeafde55cdabc9da18e5be065d7a3227caa7a5461f
parent0ac70465e8cde8c11dd743297174235afd8afdc1 (diff)
downloadmate-panel-905d98eea89f8aa45efc153dc7816e7a25eb3f64.tar.bz2
mate-panel-905d98eea89f8aa45efc153dc7816e7a25eb3f64.tar.xz
travis: enable 'cppcheck'
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 7ffdf8f4..26035fd9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,6 +65,7 @@ requires:
archlinux:
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-panel
- clang
+ - cppcheck
- dbus-glib
- gcc
- git
@@ -87,6 +88,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/mate-panel
- clang
- clang-tools
+ - cppcheck
- gir1.2-freedesktop
- git
- gobject-introspection
@@ -119,6 +121,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-panel.git
- clang-analyzer
- clang
+ - cppcheck
- dbus-glib-devel
- desktop-file-utils
- gcc
@@ -140,6 +143,7 @@ requires:
ubuntu:
- clang
- clang-tools
+ - cppcheck
- gir1.2-freedesktop
- git
- gobject-introspection
@@ -198,6 +202,7 @@ build_scripts:
- else
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
before_scripts:
- cd ${START_DIR}