mirror of
https://github.com/lightninglabs/loop
synced 2024-11-04 06:00:21 +00:00
87b02b7715
To itest our autolooper, we need to be able to trigger dispatch on demand. This functionality is included in a separate rpc server behind a dev flag. Since it is unlikely that we need to split loop into multiple rpc servers, this commit simply adds an additional debug server rather than opting for a full subserver setup.
32 lines
846 B
YAML
32 lines
846 B
YAML
language: go
|
|
cache:
|
|
directories:
|
|
- $GOCACHE
|
|
- $GOPATH/pkg/mod
|
|
- $GOPATH/src/github.com/btcsuite
|
|
- $GOPATH/src/github.com/golang
|
|
- $GOPATH/src/gopkg.in/alecthomas
|
|
|
|
# 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.13.x"
|
|
|
|
env:
|
|
global:
|
|
- GOCACHE=$HOME/.go-build
|
|
|
|
sudo: required
|
|
|
|
script:
|
|
- export GO111MODULE=on
|
|
- make lint unit build mod-check
|
|
- make tags=dev
|
|
|
|
after_script:
|
|
- echo "Uploading to termbin.com..." && find *.log | xargs -I{} sh -c "cat {} | nc termbin.com 9999 | xargs -r0 printf '{} uploaded to %s'"
|
|
- echo "Uploading to file.io..." && tar -zcvO *.log | curl -s -F 'file=@-;filename=logs.tar.gz' https://file.io | xargs -r0 printf 'logs.tar.gz uploaded to %s\n'
|