From 99a63109c6e80123e5744eacda6d4dc9c23fa31c Mon Sep 17 00:00:00 2001
From: Pablo Barciela <scow@riseup.net>
Date: Sun, 12 Jan 2020 00:37:25 +0100
Subject: Travis CI: enable 'cppcheck' in debian

---
 .travis.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 0d005a2..2f3f9ab 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,6 +53,7 @@ requires:
     - autopoint
     - clang
     - clang-tools
+    - cppcheck
     - gcc
     - git
     - gtk-doc-tools
@@ -119,6 +120,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:
   - make distcheck
-- 
cgit v1.2.1