diff options
author | Pablo Barciela <[email protected]> | 2020-04-16 02:07:06 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-16 03:16:10 +0200 |
commit | 17bda78e875c9e73711e044ca0a9e8adce24bbb8 (patch) | |
tree | 1ab0fb814cbdc0075b338a2df57c26fe0c83d0b0 | |
parent | 11d085a04c508fdc98b7c1aab65ad8e298b7470a (diff) | |
download | mate-settings-daemon-17bda78e875c9e73711e044ca0a9e8adce24bbb8.tar.bz2 mate-settings-daemon-17bda78e875c9e73711e044ca0a9e8adce24bbb8.tar.xz |
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
-rw-r--r-- | .build.yml | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 |