1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(travis): fix .travis.yml deploy syntax for multiple providers

With this qTox.dmg for osx should be successfully deployed.
This commit is contained in:
Zetok Zalbavar 2017-02-05 13:11:13 +00:00
parent 01397f494a
commit bdbf2b461b
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -33,22 +33,22 @@ script: "./.travis/$JOB.sh"
deploy:
# osx binary
provider: releases
api_key:
secure: "BRbzTWRvadALRQSTihMKruOj64ydxusMUS9FQR//qFlS345ZYfYta43W//4LcWWDKtj6IvA6DRqNdabgWnpbpxpnm9gVftGUdOKlU3niPZhwsMkB2M12QHUnAP6DVOfGPvdciBV+6mu73SSxniEcrYjZ1CrRX7mknmehPpVKxNk="
file: "./qTox.dmg"
on:
condition: $TRAVIS_OS_NAME == osx
repo: qTox/qTox
tags: true
skip_cleanup: true
- provider: releases
api_key:
secure: "BRbzTWRvadALRQSTihMKruOj64ydxusMUS9FQR//qFlS345ZYfYta43W//4LcWWDKtj6IvA6DRqNdabgWnpbpxpnm9gVftGUdOKlU3niPZhwsMkB2M12QHUnAP6DVOfGPvdciBV+6mu73SSxniEcrYjZ1CrRX7mknmehPpVKxNk="
file: "./qTox.dmg"
on:
condition: $TRAVIS_OS_NAME == osx
repo: qTox/qTox
tags: true
skip_cleanup: true
# branch for windows jenkins build
provider: script
script: .travis/deploy-jenkins-branch.sh
on:
tags: true
skip_cleanup: true
- provider: script
script: .travis/deploy-jenkins-branch.sh
on:
tags: true
skip_cleanup: true
after_success: