summaryrefslogtreecommitdiff
path: root/.build.yml
diff options
context:
space:
mode:
Diffstat (limited to '.build.yml')
-rw-r--r--.build.yml28
1 files changed, 4 insertions, 24 deletions
diff --git a/.build.yml b/.build.yml
index dca1a9fc..e3235f36 100644
--- a/.build.yml
+++ b/.build.yml
@@ -59,7 +59,6 @@ requires:
- autoconf-archive
- clang-analyzer
- clang
- - cppcheck-htmlreport
- git
- gcc
- make
@@ -134,37 +133,18 @@ before_scripts:
- chmod +x /usr/bin/gla11y
build_scripts:
- - if [ ${DISTRO_NAME} == "debian" ];then
- - export CFLAGS+=" -Wsign-compare -Wunused-macros -Wunused-parameter"
- - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- - fi
-
- NOCONFIGURE=1 ./autogen.sh
- - scan-build $CHECKERS ./configure --enable-empty-view --enable-compile-warnings=maximum
+ - scan-build $CHECKERS ./configure --enable-empty-view
- 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 + 1 ))
- - make clean
- - fi
- scan-build $CHECKERS --keep-cc -o html-report make -j $(( CPU_COUNT + 1 ))
- 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} == "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}/mate-icon-theme/raw/master/mate/16x16/apps/system-file-manager.png
- - fi
- if [ ${DISTRO_NAME} == "debian" ];then
- - make install
- - if xvfb-run make check; then :; else cat eel/test-suite.log; cat src/test-suite.log; false; fi
+ - cppcheck --enable=warning,style,performance,portability,information,missingInclude .
- fi
+
+after_scripts:
- make distcheck
releases: