16 lines
394 B
YAML
16 lines
394 B
YAML
|
machine:
|
||
|
environment:
|
||
|
GO15VENDOREXPERIMENT: 1
|
||
|
dependencies:
|
||
|
post:
|
||
|
# install golint
|
||
|
- go get github.com/golang/lint/golint
|
||
|
|
||
|
test:
|
||
|
pre:
|
||
|
- go vet $(go list ./... | grep -v vendor)
|
||
|
- test -z "$(golint ./... | grep -v vendor | tee /dev/stderr)"
|
||
|
- test -z "$(gofmt -s -l . | grep -v vendor | tee /dev/stderr)"
|
||
|
override:
|
||
|
- go test $(go list ./... | grep -v vendor)
|