diff options
author | Pablo Barciela <[email protected]> | 2020-04-26 03:47:09 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-26 04:28:25 +0200 |
commit | 28a6d13866b121ba4ad73d4118e33c686ed3c75c (patch) | |
tree | 7c2a5e827887fe17a1c0ab16a0dc3a6dab670b91 | |
parent | 951d64b3a8cca287d5df9f19b2d2fb0548ec0e40 (diff) | |
download | mate-session-manager-28a6d13866b121ba4ad73d4118e33c686ed3c75c.tar.bz2 mate-session-manager-28a6d13866b121ba4ad73d4118e33c686ed3c75c.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
@@ -133,6 +133,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 @@ -140,9 +145,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 |