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)