make: define goveralls

This commit is contained in:
Johan T. Halseth 2018-10-11 10:31:04 +02:00
parent 099a9b7b79
commit c6ee2803ad
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -167,6 +167,10 @@ unit-race:
export CGO_ENABLED=1; env GORACE="history_size=7 halt_on_errors=1" $(UNIT_RACE) export CGO_ENABLED=1; env GORACE="history_size=7 halt_on_errors=1" $(UNIT_RACE)
export CGO_ENABLED=$(CGO_STATUS_QUO) export CGO_ENABLED=$(CGO_STATUS_QUO)
goveralls: $(GOVERALLS_BIN)
@$(call print, "Sending coverage report.")
$(GOVERALLS_BIN) -coverprofile=profile.cov -service=travis-ci
# ============= # =============
# FLAKE HUNTING # FLAKE HUNTING
# ============= # =============
@ -185,15 +189,11 @@ flake-unit:
# ====== # ======
ifeq ($(RACE)$(USE_LINT), FALSETRUE) ifeq ($(RACE)$(USE_LINT), FALSETRUE)
travis: dep lint build itest unit-cover $(GOVERALLS_BIN) travis: dep lint build itest unit-cover goveralls
@$(call print, "Sending coverage report.")
$(GOVERALLS_BIN) -coverprofile=profile.cov -service=travis-ci
endif endif
ifeq ($(RACE)$(USE_LINT), FALSEFALSE) ifeq ($(RACE)$(USE_LINT), FALSEFALSE)
travis: dep build itest unit-cover $(GOVERALLS_BIN) travis: dep build itest unit-cover goveralls
@$(call print, "Sending coverage report.")
$(GOVERALLS_BIN) -coverprofile=profile.cov -service=travis-ci
endif endif
ifeq ($(RACE)$(USE_LINT), TRUETRUE) ifeq ($(RACE)$(USE_LINT), TRUETRUE)
@ -246,6 +246,7 @@ clean:
unit \ unit \
unit-cover \ unit-cover \
unit-race \ unit-race \
goveralls \
flakehunter \ flakehunter \
flake-unit \ flake-unit \
travis \ travis \