Skip to content
Permalink
Browse files

.travis.yml: use go vet instead of go tool vet

As of Go 1.12, go tool vet is no longer supported.¹
Start using the go vet command instead.

¹ https://golang.org/doc/go1.12#vet
  • Loading branch information...
dmitshur committed Jul 10, 2019
1 parent 33b7b5e commit 837571dbbc383c6a44771681b22b619460ad6dc9
Showing with 2 additions and 2 deletions.
  1. +2 −2 .travis.yml
@@ -11,6 +11,6 @@ install:
- # Do nothing. This is needed to prevent default install action "go get -t -v ./..." from happening here (we want it to happen inside script step).
script:
- go get -t -v ./...
- diff -u <(echo -n) <(gofmt -d -s .)
- go tool vet .
- diff -n <(echo -n) <(gofmt -d -s .)
- go vet ./...
- go test -v -race ./...

0 comments on commit 837571d

Please sign in to comment.
You can’t perform that action at this time.