From 55679f993a1132e3ef0d38fc5fef07949dcd9178 Mon Sep 17 00:00:00 2001 From: rbuj Date: Fri, 11 Oct 2019 16:47:26 +0200 Subject: ci: set maximum compile warnings on step scan-build ./configure The autogen.sh compiler warning flags are overridden in the configure step. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f4c57ed..c8c845f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -197,10 +197,10 @@ before_scripts: build_scripts: - if [ ${DISTRO_NAME} == "debian" -o ${DISTRO_NAME} == "ubuntu" ];then - ./autogen.sh --without-keyring --enable-compile-warnings=maximum - - scan-build $CHECKERS ./configure --without-keyring + - scan-build $CHECKERS ./configure --without-keyring --enable-compile-warnings=maximum - else - ./autogen.sh --enable-compile-warnings=maximum - - scan-build $CHECKERS ./configure + - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - fi - if [ $CPU_COUNT -gt 1 ]; then - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT -- cgit v1.2.1