mirror of
https://github.com/spf13/viper
synced 2025-05-06 04:07:17 +00:00
move travis diff call to before vendoring
This commit is contained in:
parent
8a855103ac
commit
940e2f6b82
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue