From 79070feba0ae778d288d2c8a591ea19a58b650e9 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 15 Sep 2021 17:27:04 +0200 Subject: branch 1.26 --- .build.yml | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) (limited to '.build.yml') diff --git a/.build.yml b/.build.yml index aa66d27..d66fa7e 100644 --- a/.build.yml +++ b/.build.yml @@ -59,7 +59,6 @@ requires: - cairo-devel - clang - clang-analyzer - - cppcheck-htmlreport - dbus-glib-devel - desktop-file-utils - gcc @@ -127,39 +126,16 @@ variables: before_scripts: build_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - export CFLAGS+=" -Wsign-compare -Wunused-parameter" - - cppcheck --enable=warning,style,performance,portability,information,missingInclude . - - fi - - NOCONFIGURE=1 ./autogen.sh - - - scan-build $CHECKERS ./configure --enable-compile-warnings=maximum + - scan-build $CHECKERS ./configure - if [ $CPU_COUNT -gt 1 ]; then - - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make -j $CPU_COUNT - - make clean - - fi - scan-build $CHECKERS --keep-cc -o html-report make -j $CPU_COUNT - else - - if [ ${DISTRO_NAME} == "debian" ];then - - scan-build $CHECKERS --keep-cc --use-cc=clang --use-c++=clang++ -o html-report make - - make clean - - fi - scan-build $CHECKERS --keep-cc -o html-report make - fi after_scripts: - - if [ ${DISTRO_NAME} == "debian" ];then - - curl -Ls -o debian.sh https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/debian.sh - - bash ./debian.sh - - fi - - if [ ${DISTRO_NAME} == "fedora" ];then - - cppcheck --xml --output-file=cppcheck.xml --enable=warning,style,performance,portability,information,missingInclude . - - cppcheck-htmlreport --title=${REPO_NAME} --file=cppcheck.xml --report-dir=cppcheck-htmlreport - - ./gen-index -l 20 -i https://github.com/${OWNER_NAME}/${REPO_NAME}/raw/master/data/icons/16x16/apps/mate-power-manager.png - - fi - make distcheck releases: -- cgit v1.2.1