add missed dependency

This commit is contained in:
Lei Xue
2016-09-12 11:50:14 +08:00
parent 3fc1973593
commit e041e7f756
16 changed files with 1666 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
dependencies:
post:
# install golint
- go get github.com/golang/lint/golint
test:
pre:
# run analysis before tests
- go vet ./...
- test -z "$(golint ./... | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | tee /dev/stderr)"