summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-04-06 23:03:12 +0200
committerPablo Barciela <[email protected]>2020-04-07 00:20:07 +0200
commit3c043e76fc0443039026adc88dea6f5ac706aa6e (patch)
tree469a737603536840abf86c7bc81c009f817f7f21 /.build.yml
parentbb66a7e3f4ca9e9d7d85c5d4950ea2650781762b (diff)
downloadengrampa-3c043e76fc0443039026adc88dea6f5ac706aa6e.tar.bz2
engrampa-3c043e76fc0443039026adc88dea6f5ac706aa6e.tar.xz
Travis CI: debian build: add -Wunused-parameter to CFLAGS
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.build.yml b/.build.yml
index 55a177f..8fa82f3 100644
--- a/.build.yml
+++ b/.build.yml
@@ -92,6 +92,10 @@ variables:
-enable-checker security.insecureAPI.strcpy"'
build_scripts:
+ - if [ ${DISTRO_NAME} == "debian" ];then
+ - export CFLAGS+=" -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
@@ -99,9 +103,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
before_scripts:
- cd ${START_DIR}