Skip to content

Commit 03fce27

Browse files
committedJun 22, 2019
.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. Use RCS format for gofmt diff. It results in cleaner, easier to read gofmt diffs. ¹ https://golang.org/doc/go1.12#vet
1 parent 09ea5d2 commit 03fce27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ install:
1111
- # 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).
1212
script:
1313
- go get -t -v ./...
14-
- diff -u <(echo -n) <(gofmt -d -s .)
15-
- go tool vet .
14+
- diff -n <(echo -n) <(gofmt -d -s .)
15+
- go vet ./...
1616
- go test -v -race ./...

0 commit comments

Comments
 (0)
Please sign in to comment.