build: for go modules for entire goclean.sh
This commit is contained in:
parent
b0f5763403
commit
d1aea1782f
2 changed files with 2 additions and 1 deletions
|
@ -9,4 +9,5 @@ install:
|
|||
- GO111MODULE=off go get -v github.com/davecgh/go-spew/spew
|
||||
script:
|
||||
- export PATH=$PATH:$HOME/gopath/bin
|
||||
- export GO111MODULE=on
|
||||
- ./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)"
|
||||
|
||||
GO111MODULE=on env GORACE="history_size=7 halt_on_errors=1" go test -v -race $test_targets
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue