diff options
author | Pablo Barciela <[email protected]> | 2020-05-12 16:36:40 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-05-12 16:55:49 +0200 |
commit | 3fe0b98031c4557d92a4fc34cf427961ac09c986 (patch) | |
tree | 83e5f46a5fe41546055b25c2b90f92cb00e15437 /.build.yml | |
parent | afa3f2804179285658d4256e6b15d2d55fd49be3 (diff) | |
download | mate-notification-daemon-3fe0b98031c4557d92a4fc34cf427961ac09c986.tar.bz2 mate-notification-daemon-3fe0b98031c4557d92a4fc34cf427961ac09c986.tar.xz |
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
Diffstat (limited to '.build.yml')
-rw-r--r-- | .build.yml | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -125,6 +125,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 @@ -132,9 +137,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 |