From 9e83a034e3eb83f470fe6280cd85c25ef275fd30 Mon Sep 17 00:00:00 2001 From: Frank Schroeder Date: Tue, 11 Jul 2017 13:53:06 -0700 Subject: [PATCH] build: run vet on make test --- .travis.yml | 2 +- GNUmakefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba5d63d386..655a55422a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,6 @@ branches: - master script: - - make test vet + - make test sudo: false diff --git a/GNUmakefile b/GNUmakefile index 0580c649d7..a0e27426be 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -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