summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
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}