From 3964de3634cbaf1de3425bd31a8cb68cab90658b Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sat, 11 Sep 2021 16:09:45 +0200 Subject: branch 1.26 --- .build.yml | 24 ++++-------------------- .travis.yml | 31 ++----------------------------- 2 files changed, 6 insertions(+), 49 deletions(-) diff --git a/.build.yml b/.build.yml index c74ee3c..310fc31 100644 --- a/.build.yml +++ b/.build.yml @@ -47,7 +47,6 @@ requires: - caja-devel - clang - clang-analyzer - - cppcheck-htmlreport - dbus-glib-devel - dbus-glib-devel - gajim @@ -101,33 +100,18 @@ variables: before_scripts: 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-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 + - if [ ${DISTRO_NAME} == "debian" ];then + - cppcheck --enable=warning,style,performance,portability,information,missingInclude . + - 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 - make distcheck releases: diff --git a/.travis.yml b/.travis.yml index 32477ad..fb32404 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,14 +10,9 @@ addons: - python3-pip - python3-setuptools -branches: - except: - - gh-pages - before_install: - curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build - - curl -Ls -o gen-index https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/gen-index.sh - - chmod +x docker-build gen-index + - chmod +x docker-build install: - pip3 install PyGithub @@ -28,7 +23,7 @@ script: notifications: irc: - if: (tag OR branch = master) AND + if: (tag OR branch = "1.26") AND repo = "mate-desktop/caja-extensions" channels: - "irc.libera.chat#mate-dev" @@ -39,17 +34,6 @@ notifications: on_failure: always deploy: - - provider: pages - edge: true - token: $GITHUB_TOKEN - keep_history: false - committer_from_gh: true - target_branch: gh-pages - local_dir: html-report - strategy: git - on: - all_branches: true - condition: ${DISTRO} =~ ^fedora.*$ - provider: script edge: true script: ./docker-build --verbose --config .build.yml --release github @@ -57,17 +41,6 @@ deploy: tags: true condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$" -after_success: - - 'if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_PULL_REQUEST" != "false" && ${DISTRO} =~ ^fedora.*$ ]]; then - REPO_SLUG_ARRAY=(${TRAVIS_REPO_SLUG//\// }); - REPO_NAME=${REPO_SLUG_ARRAY[1]}; - URL="https://${REPO_NAME}.mate-desktop.dev"; - COMMENT="Code analysis completed"; - curl -H "Authorization: token $GITHUB_TOKEN" -X POST - -d "{\"state\": \"success\", \"description\": \"$COMMENT\", \"context\":\"scan-build\", \"target_url\": \"$URL\"}" - https://api.github.com/repos/${TRAVIS_REPO_SLUG}/statuses/${TRAVIS_PULL_REQUEST_SHA}; - fi' - env: # - DISTRO="archlinux:latest" - DISTRO="debian:testing" -- cgit v1.2.1