build: run vet on make test

pull/3266/head
Frank Schroeder 2017-07-11 13:53:06 -07:00
parent 4d4df3c69e
commit 9e83a034e3
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@ branches:
- master
script:
- make test vet
- make test
sudo: false

View File

@ -49,7 +49,7 @@ cov:
gocov test $(GOFILES) | gocov-html > /tmp/coverage.html
open /tmp/coverage.html
test: dev
test: dev vet
go test -tags '$(GOTAGS)' -i ./...
go test $(GOTEST_FLAGS) -tags '$(GOTAGS)' -timeout 7m -v ./... 2>&1 >test$(GOTEST_FLAGS).log ; echo $$? > exit-code
@echo "Exit code: `cat exit-code`" >> test$(GOTEST_FLAGS).log