summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-10-11 16:47:26 +0200
committerZenWalker <[email protected]>2019-10-11 22:42:45 +0200
commit55679f993a1132e3ef0d38fc5fef07949dcd9178 (patch)
treea45df3020b4c73b1ba4901a813907ad6d9ecdc0c
parentf14a11cb474820e8ed44bb8714b31dd040210c45 (diff)
downloadmate-power-manager-55679f993a1132e3ef0d38fc5fef07949dcd9178.tar.bz2
mate-power-manager-55679f993a1132e3ef0d38fc5fef07949dcd9178.tar.xz
ci: set maximum compile warnings on step scan-build ./configure
The autogen.sh compiler warning flags are overridden in the configure step.
-rw-r--r--.travis.yml4
1 files 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