mirror of https://github.com/hashicorp/consul
build: run vet on make test
parent
4d4df3c69e
commit
9e83a034e3
|
@ -8,6 +8,6 @@ branches:
|
|||
- master
|
||||
|
||||
script:
|
||||
- make test vet
|
||||
- make test
|
||||
|
||||
sudo: false
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue