summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-20 02:17:34 +0200
committerPablo Barciela <[email protected]>2020-04-20 02:48:40 +0200
commit88fde3d6da063f8c354f46a66fbebc1ed97f5069 (patch)
treeb14e60d553bf877c89f2e7b34573409fdd94dfde
parent5fe75ca1e48ec37c5b5f26aef82268a9c9a1314e (diff)
downloadmate-indicator-applet-88fde3d6da063f8c354f46a66fbebc1ed97f5069.tar.bz2
mate-indicator-applet-88fde3d6da063f8c354f46a66fbebc1ed97f5069.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 7a5f3a6..fad2f3b 100644
--- a/.build.yml
+++ b/.build.yml
@@ -97,6 +97,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 .
+ - fi
+
- NOCONFIGURE=1 ./autogen.sh
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then
@@ -104,9 +109,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 .
- - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then