-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwercker.yml
30 lines (30 loc) · 842 Bytes
/
wercker.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
box: tcnksm/gox
build:
steps:
- setup-go-workspace
- script:
name: go get
code: |
go get -t ./...
- script:
name: go test
code: |
make test
- script:
name: Publish Coveralls
code: goveralls -service="wercker.com" -coverprofile=profile.cov -repotoken $COVERALLS_TOKEN
- script:
name: gox build
code: |
XC_OS="linux darwin windows" XC_ARCH="386 amd64" make bin
- tcnksm/zip:
input: pkg
output: $WERCKER_OUTPUT_DIR/dist
deploy:
steps:
- tcnksm/ghr:
token: $GITHUB_TOKEN
version: $RELEASE_VERSION
input: dist
replace: true
pre-release: $RELEASE_IS_DRAFT