build: force go modules support in goclean.sh test execution

This commit is contained in:
Olaoluwa Osuntokun 2018-11-29 18:54:51 -08:00
parent 50095184c1
commit b0f5763403
No known key found for this signature in database
GPG key ID: CE58F7F8E20FD9A2

View file

@ -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.