blob: af9d6055293dff3bf7d8b30248fe9ee8ba8b996d (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
dependencies:
post:
# install golint
- go get golang.org/x/lint/golint
test:
pre:
# run analysis before tests
- go vet ./...
- test -z "$(golint ./... | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
|