build: remove goveralls

This commit is contained in:
Wilmer Paulino 2021-03-29 16:01:27 -07:00
parent b9b4d4efe1
commit 02fedd6780
No known key found for this signature in database
GPG key ID: 6DF57B9F9514972F
2 changed files with 0 additions and 12 deletions

View file

@ -11,4 +11,3 @@ script:
- make lint - make lint
- make unit-race - make unit-race
- make unit-cover - make unit-cover
- make goveralls

View file

@ -1,12 +1,10 @@
PKG := github.com/btcsuite/btcwallet PKG := github.com/btcsuite/btcwallet
GOVERALLS_PKG := github.com/mattn/goveralls
LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint
GOACC_PKG := github.com/ory/go-acc GOACC_PKG := github.com/ory/go-acc
GOIMPORTS_PKG := golang.org/x/tools/cmd/goimports GOIMPORTS_PKG := golang.org/x/tools/cmd/goimports
GO_BIN := ${GOPATH}/bin GO_BIN := ${GOPATH}/bin
GOVERALLS_BIN := $(GO_BIN)/goveralls
LINT_BIN := $(GO_BIN)/golangci-lint LINT_BIN := $(GO_BIN)/golangci-lint
GOACC_BIN := $(GO_BIN)/go-acc GOACC_BIN := $(GO_BIN)/go-acc
@ -49,10 +47,6 @@ all: build check
# DEPENDENCIES # DEPENDENCIES
# ============ # ============
$(GOVERALLS_BIN):
@$(call print, "Fetching goveralls.")
go get -u $(GOVERALLS_PKG)
$(LINT_BIN): $(LINT_BIN):
@$(call print, "Fetching linter") @$(call print, "Fetching linter")
$(DEPGET) $(LINT_PKG)@$(LINT_COMMIT) $(DEPGET) $(LINT_PKG)@$(LINT_COMMIT)
@ -97,10 +91,6 @@ unit-race:
@$(call print, "Running unit race tests.") @$(call print, "Running unit race tests.")
env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(GOLIST) | $(XARGS) env $(GOTEST) -race env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(GOLIST) | $(XARGS) env $(GOTEST) -race
goveralls: $(GOVERALLS_BIN)
@$(call print, "Sending coverage report.")
$(GOVERALLS_BIN) -coverprofile=coverage.txt -service=travis-ci
# ========= # =========
# UTILITIES # UTILITIES
# ========= # =========
@ -126,7 +116,6 @@ clean:
unit \ unit \
unit-cover \ unit-cover \
unit-race \ unit-race \
goveralls \
fmt \ fmt \
lint \ lint \
clean clean