-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: go
os:
- linux
go:
- 1.12.x
env:
- GO111MODULE=on
script:
- make bootstrap test
services:
- docker
before_deploy:
- >
if ! [ "$BEFORE_DEPLOY_RUN" ]; then
export BEFORE_DEPLOY_RUN=1;
make dist VERSION=${TRAVIS_TAG} COMMIT=${TRAVIS_COMMIT};
fi
deploy:
- provider: releases
api_key:
secure: fRJBFj/UO2MHEFA9MHMoSPr5MiIJAkF6JkEBC7BeVug/4ojDyzuhQ4A1XazdVl47fhihY4VC8Sjnd4LdvyM3+NwljwxPbZjPFYYsIFvw1X34ewTdCBHRv4cdDGKNGT1IYVod/4xmtVMGiNrPjxQVnaoPXNfo43Tn14MoCXRgYPQJ+1rCC/p8hRFA66KeyWJmk/FLIGCuC6NWHkYn58tpMd0V8t2bm1MjVhZSwsEMj6/ubCvqzqrQIGlSzi/2i0o6k1rJULL7KieeAasc3qrV3bglO4LnQPuXVaaDZhcFJtZQZjdK/0PeMs58mhOFItlLmYEjN9dlUWpfAb3sjAxXsBDWT4DU0u7GHViAuntCca+Lpum+CFTfw0m55RBFJBAVXCdj8cBKb3ytTjQJsVPGfx2TT4ohywLITPLKamxNqEI7jRBbZrZZ4XNOC8ZhFcagjTzTDyxapdBGO49a8sl2sE00qbLdA14T1H724aHJw5/SISiHGgq+55Tro7zzFiMQ2zEftIrNbvwsi0ODcDumvMw9gQB4kxKmEsDxSlo3LACuNEjkwGpSg8oaHxp8L/9MChdNDd7/trtiQurV8xycX5LSkdSqZRm4L6rxLvmwVdBpPoIvlge/GIQgXDsfeCFLGbPKH3lgMa5T4RZCrj5on3txfV14h8b27/sb69y2b44=
file: "_dist/*"
file_glob: true
skip_cleanup: true
on:
tags: true
- provider: script
script: curl -sS http://softleader.com.tw:48082 | bash -s -- --owner softleader --token ${GITHUB_TOKEN}
skip_cleanup: true
on:
tags: true
- provider: script
script: make choco-push VERSION=${TRAVIS_TAG}
skip_cleanup: true
on:
tags: true