mirror of
https://github.com/rls-moe/nyx
synced 2024-11-14 22:12:24 +00:00
32 lines
515 B
YAML
32 lines
515 B
YAML
|
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 .
|