gotty/wercker.yml

28 lines
618 B
YAML
Raw Normal View History

2015-08-17 06:00:38 +08:00
box: tcnksm/gox
build:
steps:
- setup-go-workspace
- script:
name: go get
code: |
go get github.com/tools/godep
godep restore
2015-08-20 15:45:06 +08:00
- script:
name: check format
code: |
if [ `go fmt ./... | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
2015-08-17 06:00:38 +08:00
- tcnksm/gox:
2015-08-22 12:11:11 +08:00
os: "darwin linux freebsd netbsd openbsd"
2015-08-24 03:53:15 +08:00
arch: "386 amd64 arm"
2015-08-17 06:00:38 +08:00
- yudai/targz:
input: $WERCKER_OUTPUT_DIR/pkg
output: $WERCKER_OUTPUT_DIR/dist
deploy:
steps:
- tcnksm/ghr:
token: $GITHUB_TOKEN
input: dist
replace: true