diff options
author | Pablo Barciela <[email protected]> | 2020-04-22 01:25:49 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-22 01:43:52 +0200 |
commit | f45fe8c44768e00f9b36776f86c31279887268f9 (patch) | |
tree | 8bdc658701b3f9a96bc94e611a6e22764d02b70f /.build.yml | |
parent | 86a1a5ec926f52ca1d6b79af7dcf5b8a5e825123 (diff) | |
download | mate-menus-f45fe8c44768e00f9b36776f86c31279887268f9.tar.bz2 mate-menus-f45fe8c44768e00f9b36776f86c31279887268f9.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
@@ -88,6 +88,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 -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' . + - fi + - NOCONFIGURE=1 ./autogen.sh - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - if [ $CPU_COUNT -gt 1 ]; then @@ -95,9 +100,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 -D'MATEMENU_I_KNOW_THIS_IS_UNSTABLE' -D'G_ENABLE_DEBUG' . - - fi after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then |