summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-26 03:47:09 +0200
committerPablo Barciela <[email protected]>2020-04-26 04:28:25 +0200
commit28a6d13866b121ba4ad73d4118e33c686ed3c75c (patch)
tree7c2a5e827887fe17a1c0ab16a0dc3a6dab670b91 /.build.yml
parent951d64b3a8cca287d5df9f19b2d2fb0548ec0e40 (diff)
downloadmate-session-manager-28a6d13866b121ba4ad73d4118e33c686ed3c75c.tar.bz2
mate-session-manager-28a6d13866b121ba4ad73d4118e33c686ed3c75c.tar.xz
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 17a6559..3e47bb9 100644
--- a/.build.yml
+++ b/.build.yml
@@ -133,6 +133,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
@@ -140,9 +145,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