From 905d98eea89f8aa45efc153dc7816e7a25eb3f64 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Wed, 10 Apr 2019 20:21:31 +0200 Subject: travis: enable 'cppcheck' --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) 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} -- cgit v1.2.1