diff options
author | Pablo Barciela <[email protected]> | 2020-04-12 03:35:04 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-07-20 23:47:11 +0200 |
commit | b6a95d38564f13ac95b60bae58fbc04ede899f32 (patch) | |
tree | 38c3bedcc93034d3f3b08c6557d6f9005c92cd7f | |
parent | a782d3e50fe1e110cb76391e367c8f570cdf29c5 (diff) | |
download | caja-b6a95d38564f13ac95b60bae58fbc04ede899f32.tar.bz2 caja-b6a95d38564f13ac95b60bae58fbc04ede899f32.tar.xz |
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
-rw-r--r-- | .build.yml | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -143,11 +143,11 @@ before_scripts: - make install build_scripts: -# build failed with f30 und using clang patch, fixed in f30? -# - if [ ${DISTRO_NAME} == "fedora" ];then -# - curl -Ls -o fedora.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/fedora.sh -# - bash ./fedora.sh -# - fi + - if [ ${DISTRO_NAME} == "debian" ];then + - export CFLAGS+=" -Wsign-compare -Wunused-parameter" + - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - fi + - ./autogen.sh --enable-empty-view - scan-build $CHECKERS ./configure --enable-empty-view --enable-compile-warnings=maximum - if [ $CPU_COUNT -gt 1 ]; then @@ -155,9 +155,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 |