diff options
author | Pablo Barciela <[email protected]> | 2020-04-13 02:23:51 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-13 02:36:09 +0200 |
commit | 2935c0e0dc7b0dc3dbbaefe05294c33efbd7b490 (patch) | |
tree | fb5f1182bea92e03139e6fb6894b1163969e0e6c | |
parent | 5f090f783bd1286be20e6c8accb85c0e1fd273ba (diff) | |
download | caja-dropbox-2935c0e0dc7b0dc3dbbaefe05294c33efbd7b490.tar.bz2 caja-dropbox-2935c0e0dc7b0dc3dbbaefe05294c33efbd7b490.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
@@ -92,6 +92,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 @@ -99,9 +104,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 |