parent
3c846eafe6
commit
e46896a858
@ -1,5 +1,14 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.4
|
||||
env:
|
||||
- "PATH=/home/travis/gopath/bin:$PATH"
|
||||
before_install:
|
||||
- go get github.com/mitchellh/gox
|
||||
- gox -build-toolchain
|
||||
- go get github.com/tcnksm/ghr
|
||||
script:
|
||||
- go test -v ./...
|
||||
after_success:
|
||||
- gox -output "dist/{{.OS}}_{{.Arch}}_{{.Dir}}"
|
||||
- ghr --username codeskyblue --token $GITHUB_TOKEN --replace --prerelease --debug pre-release dist/
|
||||
|
Loading…
Reference in new issue