summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-12 03:35:04 +0200
committerPablo Barciela <[email protected]>2020-04-12 04:31:15 +0200
commit1edea40b39648622efa2579381344d3c0529c5d4 (patch)
treea9ed3e8849ddd3d0147ebf62537c503cf0883378
parent5ddc9e7b6b0ca49920acb9d52a65cdb3c3253288 (diff)
downloadcaja-1edea40b39648622efa2579381344d3c0529c5d4.tar.bz2
caja-1edea40b39648622efa2579381344d3c0529c5d4.tar.xz
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
-rw-r--r--.build.yml13
1 files changed, 5 insertions, 8 deletions
diff --git a/.build.yml b/.build.yml
index 86453679..a1c53182 100644
--- a/.build.yml
+++ b/.build.yml
@@ -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