-
Notifications
You must be signed in to change notification settings - Fork 18
/
wercker.yml
33 lines (32 loc) · 925 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
31
32
33
box: tcnksm/gox:1.7
build:
steps:
- setup-go-workspace
# - golint:
# exclude: "vendor"
- script:
name: go get
code: |
make updatedeps
- 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: $RELEASE_IS_DRAFT
pre-release: $RELEASE_IS_DRAFT