summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-12 03:35:04 +0200
committerraveit65 <[email protected]>2022-07-20 23:47:11 +0200
commitb6a95d38564f13ac95b60bae58fbc04ede899f32 (patch)
tree38c3bedcc93034d3f3b08c6557d6f9005c92cd7f
parenta782d3e50fe1e110cb76391e367c8f570cdf29c5 (diff)
downloadcaja-b6a95d38564f13ac95b60bae58fbc04ede899f32.tar.bz2
caja-b6a95d38564f13ac95b60bae58fbc04ede899f32.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