diff options
author | Pablo Barciela <[email protected]> | 2020-04-20 02:17:34 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-20 02:48:40 +0200 |
commit | 88fde3d6da063f8c354f46a66fbebc1ed97f5069 (patch) | |
tree | b14e60d553bf877c89f2e7b34573409fdd94dfde | |
parent | 5fe75ca1e48ec37c5b5f26aef82268a9c9a1314e (diff) | |
download | mate-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.yml | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |