From f9457b013219486e50539bf7d8bc6a559ee8b3a6 Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Fri, 6 Nov 2020 10:37:04 -0800 Subject: [PATCH] travis: separate go vet, put it first Since go vet is much quicker than running tests, call it first (no sense in doing further tests if it fails). Also, put it to a separate line, as the travis output is more comprehensible this way. Signed-off-by: Kir Kolyshkin --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 076c54b62..8b2883f97 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,4 +20,5 @@ install: script: - GO111MODULE="on" go mod tidy && git diff --exit-code go.mod go.sum - - ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace && go vet + - go vet + - ginkgo -r --randomizeAllSpecs --randomizeSuites --race --trace