mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-03 17:26:57 +01:00
docs+Makefile: remove goveralls
We use a GitHub Action for sending the coverage to coveralls.io and don't need the goveralls binary anymore.
This commit is contained in:
parent
03a038c769
commit
8facc6f07e
2 changed files with 1 additions and 14 deletions
14
Makefile
14
Makefile
|
@ -3,7 +3,6 @@ ESCPKG := github.com\/lightningnetwork\/lnd
|
|||
MOBILE_PKG := $(PKG)/mobile
|
||||
|
||||
BTCD_PKG := github.com/btcsuite/btcd
|
||||
GOVERALLS_PKG := github.com/mattn/goveralls
|
||||
LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||
GOACC_PKG := github.com/ory/go-acc
|
||||
GOIMPORTS_PKG := golang.org/x/tools/cmd/goimports
|
||||
|
@ -14,7 +13,6 @@ GOFUZZ_DEP_PKG := github.com/dvyukov/go-fuzz/go-fuzz-dep
|
|||
GO_BIN := ${GOPATH}/bin
|
||||
BTCD_BIN := $(GO_BIN)/btcd
|
||||
GOMOBILE_BIN := GO111MODULE=off $(GO_BIN)/gomobile
|
||||
GOVERALLS_BIN := $(GO_BIN)/goveralls
|
||||
LINT_BIN := $(GO_BIN)/golangci-lint
|
||||
GOACC_BIN := $(GO_BIN)/go-acc
|
||||
GOFUZZ_BUILD_BIN := $(GO_BIN)/go-fuzz-build
|
||||
|
@ -97,11 +95,6 @@ all: scratch check install
|
|||
# ============
|
||||
# DEPENDENCIES
|
||||
# ============
|
||||
|
||||
$(GOVERALLS_BIN):
|
||||
@$(call print, "Fetching goveralls.")
|
||||
go get -u $(GOVERALLS_PKG)
|
||||
|
||||
$(LINT_BIN):
|
||||
@$(call print, "Fetching linter")
|
||||
$(DEPGET) $(LINT_PKG)@$(LINT_COMMIT)
|
||||
|
@ -232,14 +225,10 @@ unit-race:
|
|||
@$(call print, "Running unit race tests.")
|
||||
env CGO_ENABLED=1 GORACE="history_size=7 halt_on_errors=1" $(UNIT_RACE)
|
||||
|
||||
goveralls: $(GOVERALLS_BIN)
|
||||
@$(call print, "Sending coverage report.")
|
||||
$(GOVERALLS_BIN) -coverprofile=coverage.txt -service=travis-ci
|
||||
|
||||
|
||||
travis-race: btcd unit-race
|
||||
|
||||
travis-cover: btcd unit-cover goveralls
|
||||
travis-cover: btcd unit-cover
|
||||
|
||||
# =============
|
||||
# FLAKE HUNTING
|
||||
|
@ -356,7 +345,6 @@ clean-mobile:
|
|||
unit-debug \
|
||||
unit-cover \
|
||||
unit-race \
|
||||
goveralls \
|
||||
travis-race \
|
||||
travis-cover \
|
||||
travis-itest \
|
||||
|
|
|
@ -206,4 +206,3 @@ Related: [`unit`](#unit)
|
|||
|
||||
[btcd]: https://github.com/btcsuite/btcd (github.com/btcsuite/btcd")
|
||||
[gometalinter]: https://gopkg.in/alecthomas/gometalinter.v1 (gopkg.in/alecthomas/gometalinter.v1)
|
||||
[goveralls]: https://github.com/mattn/goveralls (github.com/mattn/goveralls)
|
||||
|
|
Loading…
Add table
Reference in a new issue