From b0f5763403f8ec587ed1ed699bb8ca27546d8a66 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Thu, 29 Nov 2018 18:54:51 -0800 Subject: [PATCH] build: force go modules support in goclean.sh test execution --- goclean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goclean.sh b/goclean.sh index 0a123f9..bd3bfbb 100755 --- a/goclean.sh +++ b/goclean.sh @@ -17,7 +17,7 @@ test -z "$(for package in $test_targets; do golint $package; done | grep -v 'ALL test -z "$(go vet $test_targets 2>&1 | grep -v '^exit status \|Example\|newestSha\| not a string in call to Errorf$' | tee /dev/stderr)" -env GORACE="history_size=7 halt_on_errors=1" go test -v -race $test_targets +GO111MODULE=on env GORACE="history_size=7 halt_on_errors=1" go test -v -race $test_targets # Run test coverage on each subdirectories and merge the coverage profile.