add golint to make validate and install it in travis

This commit is contained in:
Tomas Kral 2017-01-04 13:56:17 +01:00
parent 6e260bab0b
commit 502157a078
No known key found for this signature in database
GPG Key ID: E690DA7E4F291FA6
2 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@ before_install:
- go get github.com/modocache/gover
- go get github.com/Masterminds/glide
- go get github.com/sgotti/glide-vc
- go get github.com/golang/lint/golint
install:
- true

View File

@ -46,7 +46,7 @@ test-cmd:
test-unit-cover:
./script/make.sh test-unit-cover
validate: gofmt vet
validate: gofmt vet lint
vet:
./script/make.sh validate-vet