Skip to content

Commit

Permalink
Change api key for travis
Browse files Browse the repository at this point in the history
  • Loading branch information
chilianyi committed Sep 20, 2018
1 parent ca99654 commit b50d4f7
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
language: python
sudo: true

script:
- ./package.sh
- "./package.sh"
before_install:
- openssl aes-256-cbc -K $encrypted_72b2f7b1b831_key -iv $encrypted_72b2f7b1b831_iv -in key.yaml.enc -out key.yaml -d
- openssl aes-256-cbc -K $encrypted_72b2f7b1b831_key -iv $encrypted_72b2f7b1b831_iv -in key.yaml.enc -out key.yaml -d
install:
- sudo pip install -U urllib3
- sudo pip install -U requests
- sudo pip install -U futures
- sudo pip install -U qsctl

- sudo pip install -U urllib3
- sudo pip install -U requests
- sudo pip install -U futures
- sudo pip install -U qsctl
deploy:
- provider: releases
skip_cleanup: true
api_key:
secure: "ByY8NEdSfI3GmoDnr+HiaRDROzDaKiW8dnOOQvKbiiQE8Hy/L6rbBqVXo+ENthZhsdAaKFwu/A3xoNZCRRibnVl4rYyuOhTwqub3zuWUkE8QH/+a7cWdXkgB2/gMLtdo7b/hbh7G3koERRfTnbsJD/7gOmCbFpIIBFcY3Z7R/bghMXTgweuUGlFmXF5mIMwVIJDwES5Z54V/Uwn9LcZsNeaoYJGL1/a8ycOXU8KOHqrVFBTYzOkt3MHdy2is4pT7UDeQu/9WrYVQDsV8Ao4cMMrSmtOCwdFRU9HUbYq6/+e+Lh+h9hZlnstiUMYPIxbnei7dP1xNwZ/Sw+s5P+y2jc0jkPf+tUdsaofinhR4qvS2vcuT52zTMJQSr2ErWv215YC6ejrLz2KbKYw1Ovn123wAXes9mB5u5U0SctUXDMpiObPw4zsjIxp/JPHbQ4xpPIZj5qYaqu7y8vPoMC1X+6JfZcLAHcmaApI6Rol5FZTkwP2t2soXTFUB9cMIEFdzI63Hk9F67z1KY5BlCssukf+LM+m4g3d2ROrO83LBT5ckGT+sC8X+6Y6X/RNsPuJ/FBg3H3aR7ATpzoTH8prsB89BARsx3o0eg3jYX+9zodws5Wddpr/EP5nPuQOQNyyrNR8xtcO1B7HrKVzAllsLnksX8t7SSPgwyMrkXkIRiSg="
file:
- "app-agent-linux-amd64.tar.gz"
- "app-agent-windows-386.zip"
on:
tags: true
provider: releases
skip_cleanup: true
api_key:
secure: WtOiUKOKmk1pIV4jtjrvNHWZtN4Fa9pAZjiN1oYGGUjV0DUBdzSUg80fXQFxvX6sLLDeXmXXX51OH5lAAujcfW+Ax4AbhzNUaKmGlZ9CXBub8o5Mun8+yEhy4Vxm3faa27VfUa3EGG3hdr1k2UuGBOofP78u1Wli7w76Bo5gb3O64XyDoiwkvfw3Do7OQWJvJQ/ttymLy0QsBgPDrIlqpFuW6LYirJGlmKhC0p95VDn0R/KbDCw+xVhboWn4d+Zo15IPT5i9VbwCBO/mcCCn4Lnfnt3BrOGjxT9ZhhlqEJLlI+1Di1w12C1SqrOf92PaOhilSGcxHt6qZOPTOU6UjdVfT+o+wjCcM/zhbEeFFr5uYisq9vh2+wqKAFdvSzn5Yl4PJb22SgIU2dpDwVOYzsisOwlSjBy6XwKIRH/8yVuvbIlhInPdd6X4/4NkFeOPV+O5H/K0BfyjfOFl/Iy/fut+ZU31MD8qdOUxq4/1aniQX+Js6KJpvd0bQLRjJCN7RmXys94EEuCMzoawg4hvf73bGBcMw7y9VC5n86+/R7bzcIh6oy1CFSJQzwbQu+6l10Pw5Gqq1TPWj4Mk35thQw/fCNGoXkktzN3Bc5V3FHgSwc7/5FOe+nryKwg+SchdPeXtg856/w7YNP72qS9E3/XiMwAfs9ZqX1UpG+y0xiQ=
file:
- "app-agent-linux-amd64.tar.gz"
- "app-agent-windows-386.zip"
on:
repo: QingCloudAppcenter/AppcenterAgent
tags: true
after_deploy:
- qsctl cp -f app-agent-linux-amd64.tar.gz qs://appcenter-docs/developer-guide/scripts/app-agent-linux-amd64.tar.gz -c key.yaml -z pek3a
- qsctl cp -f app-agent-windows-386.zip qs://appcenter-docs/developer-guide/scripts/app-agent-windows-386.zip -c key.yaml -z pek3a
- qsctl cp -f app-agent-linux-amd64.tar.gz qs://appcenter-docs/developer-guide/scripts/app-agent-linux-amd64.tar.gz -c key.yaml -z pek3a
- qsctl cp -f app-agent-windows-386.zip qs://appcenter-docs/developer-guide/scripts/app-agent-windows-386.zip -c key.yaml -z pek3a

0 comments on commit b50d4f7

Please sign in to comment.