build: for go modules for entire goclean.sh

This commit is contained in:
Olaoluwa Osuntokun 2018-11-29 19:03:23 -08:00
parent b0f5763403
commit d1aea1782f
No known key found for this signature in database
GPG key ID: CE58F7F8E20FD9A2
2 changed files with 2 additions and 1 deletions

View file

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

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)"
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.