Run vet and lint during build

This commit is contained in:
Jakob Borg committed 2014-12-08 16:12:53 +01:00
1 parent 665b4506e7
commit 0c9f1efc75
2 files changed
+11 -2

No files matched your search

+5
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