summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2021-09-11 19:23:13 +0200
committerraveit65 <[email protected]>2021-09-11 19:23:13 +0200
commite9a8c76469442f3be886ede09b86b12431e9ba6f (patch)
tree05a2ff5eb5c222f4b900eea1252d8419f629e942 /.travis.yml
parent5e28b06dc6ae3c3e1f2412c13d97eb5f6b91a9bf (diff)
downloadlibmateweather-e9a8c76469442f3be886ede09b86b12431e9ba6f.tar.bz2
libmateweather-e9a8c76469442f3be886ede09b86b12431e9ba6f.tar.xz
branch 1.26
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml32
1 files changed, 2 insertions, 30 deletions
diff --git a/.travis.yml b/.travis.yml
index ee1d756..fd6c3e9 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/libmateweather
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,18 +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"