summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-03-13 17:00:23 +0800
committerraveit65 <[email protected]>2019-03-16 08:14:22 +0100
commit1c1e26b769c0c1f3f6a3d4955bdc4bee589f366a (patch)
treea87f444a1de8bd08e1691ae22ff43747983b62f5 /.travis.yml
parent5417e22ec560561d7faf8457b1930a400b7da598 (diff)
downloadmate-control-center-1c1e26b769c0c1f3f6a3d4955bdc4bee589f366a.tar.bz2
mate-control-center-1c1e26b769c0c1f3f6a3d4955bdc4bee589f366a.tar.xz
github release
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml39
1 files changed, 28 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 3df6dfee..7440ab1b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,7 +13,7 @@ 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
-
+
install:
- sudo apt-get install -y python3-pip python3-setuptools
- sudo pip3 install --upgrade pip
@@ -24,16 +24,22 @@ script:
- ./docker-build --name ${DISTRO} --verbose --config .travis.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: 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 .travis.yml --release github
+ skip_cleanup: true
+ on:
+ tags: true
+ condition: "${TRAVIS_TAG} =~ ^v.*$ && ${DISTRO} =~ ^fedora.*$"
after_success:
- 'if [[ "$TRAVIS_SECURE_ENV_VARS" == "true" && "$TRAVIS_PULL_REQUEST" != "false" && ${DISTRO} =~ ^fedora.*$ ]]; then
@@ -256,3 +262,14 @@ after_scripts:
- ./gen-index -i https://github.com/${OWNER_NAME}/mate-icon-theme/raw/master/mate/16x16/categories/preferences-desktop.png
- fi
- make distcheck
+
+releases:
+ draft: False
+ prerelease: False
+ checksum: True
+ file_glob: True
+ files: mate-control-center-*.tar.xz
+ github_release:
+ tags: True
+ overwrite: True
+ base_version: 1.20.0