diff options
author | Pablo Barciela <[email protected]> | 2020-03-29 14:59:28 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2020-03-29 16:02:19 +0200 |
commit | 51c2fb68f9df9063fac4b6f52acc241b9af7fd77 (patch) | |
tree | 0b76c57585d3fd935af1a95afa27352852136df6 | |
parent | 7f726f292902bf54e61fa8f80ab2a48ad399e4fc (diff) | |
download | mate-user-share-51c2fb68f9df9063fac4b6f52acc241b9af7fd77.tar.bz2 mate-user-share-51c2fb68f9df9063fac4b6f52acc241b9af7fd77.tar.xz |
Travis CI: don't update gh-pages
-rw-r--r-- | .build.yml | 6 | ||||
-rw-r--r-- | .travis.yml | 28 |
2 files changed, 1 insertions, 33 deletions
@@ -47,7 +47,6 @@ requires: - caja-devel - clang - clang-analyzer - - cppcheck-htmlreport - dbus-glib-devel - desktop-file-utils - gcc @@ -122,11 +121,6 @@ build_scripts: - 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-applets/raw/master/cpufreq/pixmaps/cpufreq-100.png - - fi - make distcheck releases: diff --git a/.travis.yml b/.travis.yml index 54ae69d..74c785b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,14 +5,9 @@ language: bash services: - docker -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: - sudo apt-get install -y python3-pip python3-setuptools @@ -24,16 +19,6 @@ script: - ./docker-build --name ${DISTRO} --verbose --config .build.yml --build scripts 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 script: ./docker-build --verbose --config .build.yml --release github skip_cleanup: true @@ -41,17 +26,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/base" - DISTRO="debian:testing" |