We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 84a640e + 0548a27 commit c0f8638Copy full SHA for c0f8638
.travis.yml
@@ -9,6 +9,7 @@ services:
9
10
install:
11
- go get github.com/Masterminds/glide
12
+- go get github.com/aliyun/ossutil
13
14
before_script:
15
- glide install
@@ -31,6 +32,9 @@ script:
31
32
after_success:
33
- bash <(curl -s https://codecov.io/bash)
34
- xz -9k bin/deployd
35
+- if [ "$TRAVIS_TAG" != "" ]; then
36
+ ossutil cp bin/deployd.xz oss://lain/binary/deployd/releases/download/${TRAVIS_TAG}/deployd.xz -e ${ENDPOINT} -i ${ACCESS_KEY_ID} -k ${ACCESS_KEY_SECRET};
37
+ fi
38
deploy:
39
provider: releases
40
api_key:
0 commit comments