You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
377 B
15 lines
377 B
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/
|