From 3a7608a7474c1aeded7174f47b2c1132e6a16bd7 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Wed, 7 Dec 2016 10:41:06 -0500 Subject: [PATCH] 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. --- goclean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goclean.sh b/goclean.sh index 2fbcd48..cb1f605 100755 --- a/goclean.sh +++ b/goclean.sh @@ -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.