travis: remove -bench and -race from coverage (#949)

Not needed and already done in the other test (bench is not looked at
at all)
This commit is contained in:
Miek Gieben
2017-08-19 17:53:31 +01:00
committed by GitHub
parent 87eb0d39a4
commit 60c83fefac
2 changed files with 2 additions and 2 deletions

View File

@@ -43,7 +43,7 @@ ifeq ($(TEST_TYPE),middleware)
endif
ifeq ($(TEST_TYPE),coverage)
for d in `go list ./... | grep -v vendor`; do \
go test -v -tags 'etcd k8s' -race -coverprofile=cover.out -covermode=atomic -bench=. $$d || exit 1; \
go test -v -tags 'etcd k8s' -coverprofile=cover.out -covermode=atomic $$d || exit 1; \
if [ -f cover.out ]; then \
cat cover.out >> coverage.txt; \
rm cover.out; \