try build with -mod=readonly for test command

This commit is contained in:
Matthew Hardwick 2020-02-27 09:59:02 -05:00 committed by GitHub
parent 146f689044
commit 31f45ebfd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,7 +22,7 @@ install: true
script:
- go mod vendor
- diff -u <(echo -n) <(gofmt -d .)
- go test -v -mod=vendor ./...
- go test -v -mod=readonly ./...
after_success:
- go get -u -d github.com/spf13/hugo