summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-04-16 23:46:50 +0200
committerZenWalker <[email protected]>2019-04-17 01:10:51 +0200
commit54bf5f7313af0d4c0ab9dbf2901e19e733a300c8 (patch)
treeb3135ff812830d79d6e27c6e3f5591ae5f71fea6
parent6ec88ce0c98d4e33375aac92ccffd1062198aa87 (diff)
downloadmate-panel-54bf5f7313af0d4c0ab9dbf2901e19e733a300c8.tar.bz2
mate-panel-54bf5f7313af0d4c0ab9dbf2901e19e733a300c8.tar.xz
travis: enable cppcheck only in debian and disable it in other distros
-rw-r--r--.travis.yml7
1 files changed, 3 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 26035fd9..919cee7c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -65,7 +65,6 @@ requires:
archlinux:
# Useful URL: https://git.archlinux.org/svntogit/community.git/tree/mate-panel
- clang
- - cppcheck
- dbus-glib
- gcc
- git
@@ -121,7 +120,6 @@ requires:
# Useful URL: https://src.fedoraproject.org/cgit/rpms/mate-panel.git
- clang-analyzer
- clang
- - cppcheck
- dbus-glib-devel
- desktop-file-utils
- gcc
@@ -143,7 +141,6 @@ requires:
ubuntu:
- clang
- clang-tools
- - cppcheck
- gir1.2-freedesktop
- git
- gobject-introspection
@@ -202,7 +199,9 @@ build_scripts:
- else
- scan-build $CHECKERS --keep-cc -o html-report make
- fi
- - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-menus-build' .
+ - fi
before_scripts:
- cd ${START_DIR}