Travis/Appveyor publish to GitHub Releases (#2550)
This commit is contained in:
parent
87ebea7b0f
commit
fab3d24757
2 changed files with 40 additions and 20 deletions
49
.travis.yml
49
.travis.yml
|
@ -1,31 +1,40 @@
|
||||||
language: cpp
|
language: cpp
|
||||||
|
sudo: required
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
# linux debug build, trusty + gcc + qt5
|
- os: linux
|
||||||
- os: linux
|
dist: trusty
|
||||||
dist: trusty
|
env: BUILDTYPE=Debug DIST=trusty
|
||||||
env: BUILDTYPE=Debug DIST=trusty
|
- os: linux
|
||||||
# osx debug build, osx + clang + qt5
|
dist: trusty
|
||||||
- os: osx
|
env: BUILDTYPE=Release DIST=trusty
|
||||||
osx_image: xcode6.4
|
- os: osx
|
||||||
env: BUILDTYPE=Debug
|
osx_image: xcode6.4
|
||||||
# linux trusty release build, precise + gcc + qt5
|
env: BUILDTYPE=Debug
|
||||||
- os: linux
|
- os: osx
|
||||||
dist: trusty
|
osx_image: xcode6.4
|
||||||
env: BUILDTYPE=Release DIST=trusty
|
env: BUILDTYPE=Release
|
||||||
# osx release build, osx + gcc + qt5
|
script: "./travis-compile.sh"
|
||||||
- os: osx
|
install: "./travis-dependencies.sh"
|
||||||
osx_image: xcode6.4
|
|
||||||
env: BUILDTYPE=Release
|
|
||||||
script: ./travis-compile.sh
|
|
||||||
install: ./travis-dependencies.sh
|
|
||||||
cache: apt
|
cache: apt
|
||||||
notifications:
|
notifications:
|
||||||
slack: cockatrice:dNA81maCU8SAHB7pYrCWiQg9
|
|
||||||
webhooks:
|
webhooks:
|
||||||
urls:
|
urls:
|
||||||
- https://webhooks.gitter.im/e/d94969c3b01b22cbdcb7
|
- https://webhooks.gitter.im/e/d94969c3b01b22cbdcb7
|
||||||
on_success: change
|
on_success: change
|
||||||
on_failure: change
|
on_failure: change
|
||||||
on_start: never
|
on_start: never
|
||||||
|
deploy:
|
||||||
|
provider: releases
|
||||||
|
api_key:
|
||||||
|
secure: "mLMF41q7xgOR1sjczsilEy7HQis2PkZCzhfOGbn/8FoOQnmmPOZjrsdhn06ZSl3SFsbfCLuClDYXAbFscQmdgjcGN5AmHV+JYfW650QEuQa/f4/lQFsVRtEqUA1O3FQ0OuRxdpCfJubZBdFVH8SbZ93GLC5zXJbkWQNq+xCX1fU="
|
||||||
|
file_glob: true
|
||||||
|
file: "build/Cockatrice-*"
|
||||||
|
prerelease: true
|
||||||
|
skip_cleanup: true
|
||||||
|
overwrite: true
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
repo: Cockatrice/Cockatrice
|
||||||
|
condition: $BUILDTYPE = Release
|
11
appveyor.yml
11
appveyor.yml
|
@ -86,3 +86,14 @@ build_script:
|
||||||
Push-AppveyorArtifact "latest-$env:target_arch"
|
Push-AppveyorArtifact "latest-$env:target_arch"
|
||||||
$version = $matches['content']
|
$version = $matches['content']
|
||||||
test: off
|
test: off
|
||||||
|
deploy:
|
||||||
|
description: "Dev build of Cockatrice"
|
||||||
|
provider: GitHub
|
||||||
|
auth_token:
|
||||||
|
secure: JHNaVdd4Hdig2aF8q268OM33TbyHtoya0Pui9IBMAVZigwL4PHhTr921ZpSxlqlt
|
||||||
|
artifact: /.*\.exe/
|
||||||
|
draft: false
|
||||||
|
prerelease: true
|
||||||
|
force_update: true
|
||||||
|
on:
|
||||||
|
appveyor_repo_tag: true
|
Loading…
Reference in a new issue