Remove -v from go test on travis. (#462)

This just clutters the logs and makes it more difficult to determine
what the actual failing test was. For tests that do fail, all logs
from the test are already outputted.
This commit is contained in:
Josh Rickmar 2016-12-07 10:41:06 -05:00 committed by GitHub
parent cc240cafc5
commit 3a7608a747

View file

@ -12,7 +12,7 @@ test -z "$(go fmt $(glide novendor) | tee /dev/stderr)"
# test -z "$(goimports -l -w . | tee /dev/stderr)"
test -z "$(for package in $(glide novendor); do golint $package; done | grep -v 'ALL_CAPS\|OP_\|NewFieldVal\|RpcCommand\|RpcRawCommand\|RpcSend\|Dns\|api.pb.go\|StartConsensusRpc\|factory_test.go\|legacy' | tee /dev/stderr)"
test -z "$(go vet $(glide novendor) 2>&1 | grep -v '^exit status \|Example\|newestSha\| not a string in call to Errorf$' | tee /dev/stderr)"
env GORACE="halt_on_error=1" go test -v -race $(glide novendor)
env GORACE="halt_on_error=1" go test -race $(glide novendor)
# Run test coverage on each subdirectories and merge the coverage profile.