summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-09 04:52:54 +0200
committerPablo Barciela <[email protected]>2020-04-09 05:09:53 +0200
commit5f87dbc3c689f24270c933ad80e2d7a21e577a99 (patch)
tree5465c2fa552762c9fab2e84839e74a39a065b80c
parent92221d58b50dbb9490ab3a87740e0f0f353288ec (diff)
downloadengrampa-5f87dbc3c689f24270c933ad80e2d7a21e577a99.tar.bz2
engrampa-5f87dbc3c689f24270c933ad80e2d7a21e577a99.tar.xz
Travis CI: debian build: add -Wsign-compare to CFLAGS
-rw-r--r--.build.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.build.yml b/.build.yml
index 6d929f7..93d25ad 100644
--- a/.build.yml
+++ b/.build.yml
@@ -92,9 +92,10 @@ variables:
build_scripts:
- if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wunused-parameter"
+ - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
- cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
+
- ./autogen.sh --enable-compile-warnings=maximum
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then