Run vet and lint during build

This commit is contained in:
Jakob Borg
2014-12-08 16:10:29 +01:00
parent 665b4506e7
commit 0c9f1efc75
2 changed files with 11 additions and 2 deletions

View File

@@ -51,6 +51,11 @@ RUN go get github.com/tools/godep \
&& go get github.com/axw/gocov/gocov \
&& go get github.com/AlekSi/gocov-xml
# Install tools "go vet" and "golint"
RUN go get golang.org/x/tools/cmd/vet \
&& go get github.com/golang/lint/golint
# Build standard library for race
RUN go install -race std