mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
ci: remove Travis CI
This commit is contained in:
parent
4327e35aff
commit
a0a7599d3d
2 changed files with 0 additions and 62 deletions
50
.travis.yml
50
.travis.yml
|
|
@ -1,50 +0,0 @@
|
|||
language: go
|
||||
cache:
|
||||
directories:
|
||||
- $DOWNLOAD_CACHE
|
||||
- $GOCACHE
|
||||
- $GOPATH/pkg/mod
|
||||
- $GOPATH/src/github.com/btcsuite
|
||||
- $GOPATH/src/github.com/golang
|
||||
- $GOPATH/src/github.com/grpc-ecosystem
|
||||
- $GOPATH/src/gopkg.in/alecthomas
|
||||
- $GOPATH/src/google.golang.org
|
||||
|
||||
# Remove Travis' default flag --depth=50 from the git clone command to make sure
|
||||
# we have the whole git history, including the commit we lint against.
|
||||
git:
|
||||
depth: false
|
||||
|
||||
go:
|
||||
- "1.14.x"
|
||||
|
||||
env:
|
||||
global:
|
||||
- GOCACHE=$HOME/.go-build
|
||||
- DOWNLOAD_CACHE=$HOME/download_cache
|
||||
|
||||
sudo: required
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- clang-format
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: Build
|
||||
script:
|
||||
- GO111MODULE=on make unit pkg=... case=_NONE_
|
||||
- GO111MODULE=on make lint workers=1
|
||||
- GO111MODULE=on make rpc-js-compile
|
||||
- stage: Test
|
||||
script: GO111MODULE=on make unit-race
|
||||
name: Unit Race
|
||||
# as long as the repo is private, we can't send coverage
|
||||
#- script: GO111MODULE=on make travis-cover
|
||||
# name: Unit Cover
|
||||
|
||||
after_script:
|
||||
- LOG_FILES=./lntest/itest/*.log
|
||||
- echo "Uploading to termbin.com..." && find $LOG_FILES | xargs -I{} sh -c "cat {} | nc termbin.com 9999 | xargs -r0 printf '{} uploaded to %s'"
|
||||
- echo "Uploading to file.io..." && tar -zcvO $LOG_FILES | curl -s -F 'file=@-;filename=logs.tar.gz' https://file.io | xargs -r0 printf 'logs.tar.gz uploaded to %s\n'
|
||||
12
Makefile
12
Makefile
|
|
@ -2,11 +2,9 @@ PKG := github.com/lightninglabs/pool
|
|||
ESCPKG := github.com\/lightninglabs\/pool
|
||||
|
||||
LINT_PKG := github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||
GOVERALLS_PKG := github.com/mattn/goveralls
|
||||
GOACC_PKG := github.com/ory/go-acc
|
||||
|
||||
GO_BIN := ${GOPATH}/bin
|
||||
GOVERALLS_BIN := $(GO_BIN)/goveralls
|
||||
LINT_BIN := $(GO_BIN)/golangci-lint
|
||||
GOACC_BIN := $(GO_BIN)/go-acc
|
||||
|
||||
|
|
@ -59,10 +57,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)
|
||||
|
|
@ -110,12 +104,6 @@ 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-cover: unit-cover goveralls
|
||||
|
||||
# =============
|
||||
# FLAKE HUNTING
|
||||
# =============
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue