diff options
author | Pablo Barciela <[email protected]> | 2020-04-19 03:17:09 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-19 03:53:34 +0200 |
commit | d489851fbaed00cb21d091e7f4c59030c7048df4 (patch) | |
tree | 6424e1a3b7e0c55047de12a9c82c737c3d8f3f43 | |
parent | d3e217a4afafeea27a8355cc0aa9a68be1c7013e (diff) | |
download | mate-calc-d489851fbaed00cb21d091e7f4c59030c7048df4.tar.bz2 mate-calc-d489851fbaed00cb21d091e7f4c59030c7048df4.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
@@ -105,6 +105,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 + - ./autogen.sh - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - if [ $CPU_COUNT -gt 1 ]; then @@ -112,9 +117,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 |