summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-17 00:03:17 +0200
committerPablo Barciela <[email protected]>2020-04-17 00:23:22 +0200
commit6acae9edac668c0b6cb46752e032ea161b946ed1 (patch)
tree3b9857180690bcaa1bfde2eb9ddb1edd44210f62 /.build.yml
parenta798291543d25899bd8d77257541f51f3fca410b (diff)
downloadlibmatekbd-6acae9edac668c0b6cb46752e032ea161b946ed1.tar.bz2
libmatekbd-6acae9edac668c0b6cb46752e032ea161b946ed1.tar.xz
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 21132e9..ce5a845 100644
--- a/.build.yml
+++ b/.build.yml
@@ -101,6 +101,11 @@ before_scripts:
- make install
build_scripts:
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - export CFLAGS+=" -Wsign-compare -Wunused-parameter"
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
+ - fi
+
- ./autogen.sh
- scan-build $CHECKERS ./configure --enable-compile-warnings=maximum
- if [ $CPU_COUNT -gt 1 ]; then
@@ -108,9 +113,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