diff options
-rw-r--r-- | .travis.yml | 39 |
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 |