diff options
author | Pablo Barciela <[email protected]> | 2020-04-19 03:23:40 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-04-19 04:20:40 +0200 |
commit | 87c9ef411bdb25e134513f164ddab3ffb0eb8662 (patch) | |
tree | fae66f7d8c1fec1d561e90ff423c4827893cf149 | |
parent | 9a2338dc255f183c2c230bf67c5786f71ee0b3d7 (diff) | |
download | mate-control-center-87c9ef411bdb25e134513f164ddab3ffb0eb8662.tar.bz2 mate-control-center-87c9ef411bdb25e134513f164ddab3ffb0eb8662.tar.xz |
Travis CI: debian build: add -Wsign-compare -Wunused-parameter to CFLAGS
-rw-r--r-- | .build.yml | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -169,6 +169,7 @@ before_scripts: - fi - make - make install + - cd ${START_DIR} - if [ ! -f mate-desktop-1.23.2.tar.xz ];then - curl -Ls -o mate-desktop-1.23.2.tar.xz https://github.com/mate-desktop/mate-desktop/releases/download/v1.23.2/mate-desktop-1.23.2.tar.xz @@ -202,17 +203,20 @@ before_scripts: - fi - make - make install + - curl -Ls -o /usr/bin/gla11y https://github.com/hypra/gla11y/raw/v0.3/gla11y - chmod +x /usr/bin/gla11y build_scripts: - - ./autogen.sh - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum - - scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 )) - if [ ${DISTRO_NAME} == "debian" ];then + - export CFLAGS+=" -Wsign-compare -Wunused-parameter" - cppcheck --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' -i'mate-settings-daemon-1.23.1' . - fi + - ./autogen.sh + - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum + - scan-build $CHECKERS --keep-cc -o html-report make -j $(( $CPU_COUNT + 1 )) + after_scripts: - if [ ${DISTRO_NAME} == "fedora" ];then - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude -i'mate-desktop-1.23.2' -i'mate-settings-daemon-1.23.1' . |