move travis diff call to before vendoring

This commit is contained in:
MRHwick 2020-02-27 11:28:17 -05:00
parent 8a855103ac
commit 940e2f6b82

View file

@ -20,8 +20,8 @@ matrix:
install: true
script:
- diff -u <(echo -n) <(gofmt -d .)
- go mod vendor
- diff -u <(echo -n) <(gofmt -d $(go list ./... | grep -v /vendor/))
- go test -v -mod=readonly ./...
after_success: