Do not run shortened tests in CI, since some codepaths are just

unexercised.

Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
Ying Li
2015-10-23 18:47:39 -07:00
parent c7bef046d5
commit f961afe5c3

View File

@@ -90,13 +90,14 @@ gen-cover:
@echo "mode: $(COVERMODE)" > "$(COVERPROFILE)"
@grep -h -v "^mode:" "$(COVERDIR)"/*.cover >> "$(COVERPROFILE)"
cover: GO_EXC = go
cover: GO_EXC = godep go
OPTS = race
cover: gen-cover
@go tool cover -func="$(COVERPROFILE)"
@go tool cover -html="$(COVERPROFILE)"
ci: OPTS = race test.short
ci: OPTS = race
GO_EXC = godep go
COVERPROFILE = coverage.out
ci: gen-cover