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