Travis CI: don't update gh-pages

Pablo Barciela 2020-03-26 20:29:02 +01:00
parent c317ee8176
commit 6fb20e5da9
2 changed files with 1 additions and 33 deletions

View File

@ -41,7 +41,6 @@ requires:
- autoconf-archive - autoconf-archive
- clang - clang
- clang-analyzer - clang-analyzer
- cppcheck-htmlreport
- gcc - gcc
- dconf-devel - dconf-devel
- desktop-file-utils - desktop-file-utils
@ -119,11 +118,6 @@ build_scripts:
- fi - fi
after_scripts: 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/utilities-terminal.png
- fi
- make distcheck - make distcheck
releases: releases:

View File

@ -5,14 +5,9 @@ language: bash
services: services:
- docker - docker
branches:
except:
- gh-pages
before_install: before_install:
- curl -Ls -o docker-build https://github.com/mate-desktop/mate-dev-scripts/raw/master/travis/docker-build - 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
- chmod +x docker-build gen-index
install: install:
- sudo apt-get install -y python3-pip python3-setuptools - sudo apt-get install -y python3-pip python3-setuptools
@ -24,16 +19,6 @@ script:
- ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts
deploy: deploy:
- provider: pages
github-token: $GITHUB_TOKEN
#keep-history: true
skip_cleanup: true
committer-from-gh: true
target-branch: gh-pages
local-dir: html-report
on:
all_branches: true
condition: ${DISTRO} =~ ^fedora.*$
- provider: script - provider: script
script: ./docker-build --verbose --config .build.yml --release github script: ./docker-build --verbose --config .build.yml --release github
skip_cleanup: true skip_cleanup: true
@ -41,17 +26,6 @@ deploy:
tags: true tags: true
condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$" 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: env:
- DISTRO="archlinux/base" - DISTRO="archlinux/base"
- DISTRO="debian:testing" - DISTRO="debian:testing"