Add Travis-CI
This commit is contained in:
parent
4338fdb95e
commit
960026256c
1 changed files with 16 additions and 0 deletions
16
.travis.yml
Normal file
16
.travis.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
branches:
|
||||
only:
|
||||
- master
|
||||
|
||||
language: go
|
||||
|
||||
go:
|
||||
- tip
|
||||
|
||||
before_install:
|
||||
- go get github.com/mitchellh/gox
|
||||
- go get github.com/tcnksm/ghr
|
||||
|
||||
script:
|
||||
- gox -output "dist/knights-special-{{.OS}}_{{.Arch}}"
|
||||
- ghr -username tblyler -token "${GITHUB_TOKEN}" -recreate v1.0.0 dist/
|
Loading…
Reference in a new issue