Add Travis-CI

This commit is contained in:
Tony Blyler 2017-01-18 20:02:25 -05:00
parent 4338fdb95e
commit 960026256c
1 changed files with 16 additions and 0 deletions

16
.travis.yml Normal file
View 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/