From 31f45ebfd6b02a67ca24115a4eba43797da84e11 Mon Sep 17 00:00:00 2001 From: Matthew Hardwick Date: Thu, 27 Feb 2020 09:59:02 -0500 Subject: [PATCH] try build with -mod=readonly for test command --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index abb4a98..d36ec12 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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