use gorelease

master
hzsunshx 9 years ago
parent 17ef097e4d
commit 3e052a52bb

@ -3,12 +3,8 @@ 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/
- bash -c "$(curl -fsSL https://raw.githubusercontent.com/codeskyblue/gorelease/master/scripts/build-standalone.sh)" args0 "windows linux darwin"
- bash -c "$(curl -fsSL https://raw.githubusercontent.com/codeskyblue/gorelease/master/scripts/upload-qiniu.sh)"

@ -1,5 +1,6 @@
# gosuv
[![Build Status](https://travis-ci.org/codeskyblue/gosuv.svg)](https://travis-ci.org/codeskyblue/gosuv)
[![gorelease](https://dn-gorelease.qbox.me/gorelease-download-brightgreen.png)](http://gorelease.herokuapp.com/dn-gobuild5.qbox.me/gosuv/master)
golang port of python-supervisor

Loading…
Cancel
Save