Skip to content

Commit

Permalink
travis: separate go vet, put it first
Browse files Browse the repository at this point in the history
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 <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin authored and williammartin committed Dec 22, 2020
1 parent 487ea8f commit f9457b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f9457b0

Please sign in to comment.