summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-16 02:07:06 +0200
committerPablo Barciela <[email protected]>2020-04-16 03:16:10 +0200
commit17bda78e875c9e73711e044ca0a9e8adce24bbb8 (patch)
tree1ab0fb814cbdc0075b338a2df57c26fe0c83d0b0 /.build.yml
parent11d085a04c508fdc98b7c1aab65ad8e298b7470a (diff)
downloadmate-settings-daemon-17bda78e875c9e73711e044ca0a9e8adce24bbb8.tar.bz2
mate-settings-daemon-17bda78e875c9e73711e044ca0a9e8adce24bbb8.tar.xz
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 17897d9..eb55d51 100644
--- a/.build.yml
+++ b/.build.yml
@@ -152,6 +152,7 @@ before_scripts:
- fi
- make
- make install
+
- cd ${START_DIR}
- '[ -f mate-common-1.24.1.tar.xz ] || curl -Ls -o mate-common-1.24.1.tar.xz https://github.com/mate-desktop/mate-common/releases/download/v1.24.1/mate-common-1.24.1.tar.xz'
- tar xf mate-common-1.24.1.tar.xz
@@ -165,6 +166,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 -i'mate-desktop-1.23.2' .
+ - fi
+
- ./autogen.sh
- scan-build $CHECKERS ./configure --prefix=/usr --enable-pulse --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then
@@ -172,9 +178,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 -i'mate-desktop-1.23.2' .
- - fi
after_scripts:
- if [ ${DISTRO_NAME} == "fedora" ];then