summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-22 01:25:49 +0200
committerPablo Barciela <[email protected]>2020-04-22 01:43:52 +0200
commitf45fe8c44768e00f9b36776f86c31279887268f9 (patch)
tree8bdc658701b3f9a96bc94e611a6e22764d02b70f
parent86a1a5ec926f52ca1d6b79af7dcf5b8a5e825123 (diff)
downloadmate-menus-f45fe8c44768e00f9b36776f86c31279887268f9.tar.bz2
mate-menus-f45fe8c44768e00f9b36776f86c31279887268f9.tar.xz
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
-rw-r--r--.build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 649a91f..ea150c8 100644
--- a/.build.yml
+++ b/.build.yml
@@ -88,6 +88,11 @@ before_scripts:
- make install
build_scripts:
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' .
+ - fi
+
- NOCONFIGURE=1 ./autogen.sh
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then
@@ -95,9 +100,6 @@ 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 -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' .
- - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then