You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
515 B
YAML
32 lines
515 B
YAML
8 years ago
|
box: wercker/golang
|
||
|
|
||
|
build:
|
||
|
steps:
|
||
|
- setup-go-workspace
|
||
|
|
||
|
- script:
|
||
|
name: get dependencies
|
||
|
code: |
|
||
|
go get -d -t ./...
|
||
|
|
||
|
- script:
|
||
|
name: build
|
||
|
code: |
|
||
|
go build -x ./...
|
||
|
|
||
|
- script:
|
||
|
name: test
|
||
|
code: |
|
||
|
go test -cover ./...
|
||
|
|
||
|
- script:
|
||
|
name: vet
|
||
|
code: |
|
||
|
go vet ./...
|
||
|
|
||
|
- script:
|
||
|
name: lint
|
||
|
code: |
|
||
|
go get github.com/golang/lint/golint
|
||
|
golint .
|