summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-01 23:56:32 +0200
committerZenWalker <[email protected]>2019-04-07 21:27:48 +0200
commit4dcb2701ac7789166a3167d1e6fb0c4a4c9e4c9b (patch)
tree47fa4cbb5e525f1e47fbc96d19723a2edc150d6f /.travis.yml
parent7f2891aa487ecb6a1c5451b4c5b51316a1583ac6 (diff)
downloadcaja-4dcb2701ac7789166a3167d1e6fb0c4a4c9e4c9b.tar.bz2
caja-4dcb2701ac7789166a3167d1e6fb0c4a4c9e4c9b.tar.xz
travis: enable 'cppcheck'
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 227a1651..d5811127 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,6 +65,7 @@ requires:
archlinux:
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/caja
- clang
+ - cppcheck
- gcc
- git
- make
@@ -84,6 +85,7 @@ requires:
# Useful URL: https://salsa.debian.org/debian-mate-team/caja
- clang
- clang-tools
+ - cppcheck
- git
- gobject-introspection
- gtk-doc-tools
@@ -110,6 +112,7 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/caja.git/
- clang-analyzer
- clang
+ - cppcheck
- git
- gcc
- make
@@ -132,6 +135,7 @@ requires:
ubuntu:
- clang
- clang-tools
+ - cppcheck
- git
- gobject-introspection
- gtk-doc-tools
@@ -184,6 +188,7 @@ build_scripts:
- else
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then