diff options
author | Pablo Barciela <scow@riseup.net> | 2020-08-03 02:22:18 +0200 |
---|---|---|
committer | Pablo Barciela <scow@riseup.net> | 2020-08-03 03:01:29 +0200 |
commit | a45c425578743af51ce700f7306518984cf4c538 (patch) | |
tree | 5d5ecf9f4138b362201deb20b3710347754e75c7 | |
parent | 3e6ecc3ba9c1d7a2fe8501e6e95aa793f274a120 (diff) | |
download | mate-utils-a45c425578743af51ce700f7306518984cf4c538.tar.bz2 mate-utils-a45c425578743af51ce700f7306518984cf4c538.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
@@ -131,6 +131,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 @@ -138,9 +143,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 |