From 502157a0785c853fd22b213fd89c39b7d765c142 Mon Sep 17 00:00:00 2001 From: Tomas Kral Date: Wed, 4 Jan 2017 13:56:17 +0100 Subject: [PATCH] add golint to `make validate` and install it in travis --- .travis.yml | 2 ++ Makefile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b9134a52..091098a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/Makefile b/Makefile index c5b7bab8..76c54bce 100644 --- a/Makefile +++ b/Makefile @@ -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