diff options
author | Pablo Barciela <[email protected]> | 2020-04-17 00:03:17 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-17 00:23:22 +0200 |
commit | 6acae9edac668c0b6cb46752e032ea161b946ed1 (patch) | |
tree | 3b9857180690bcaa1bfde2eb9ddb1edd44210f62 /.build.yml | |
parent | a798291543d25899bd8d77257541f51f3fca410b (diff) | |
download | libmatekbd-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.yml | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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 |