2016-06-09 01:12:13 +03:00
|
|
|
language: go
|
2018-10-07 07:59:29 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- go: "1.11"
|
|
|
|
env: RACE=FALSE USE_LINT=TRUE
|
|
|
|
- go: "1.11"
|
|
|
|
env: RACE=FALSE USE_LINT=TRUE
|
|
|
|
- go: "1.10"
|
|
|
|
env: RACE=TRUE USE_LINT=FALSE
|
|
|
|
- go: "1.10"
|
|
|
|
env: RACE=FALSE USE_LINT=FALSE
|
2018-01-17 19:07:31 +03:00
|
|
|
sudo: required
|
2016-07-26 02:39:22 +03:00
|
|
|
install:
|
2018-01-17 19:07:31 +03:00
|
|
|
- sudo add-apt-repository -y ppa:bitcoin/bitcoin -y
|
|
|
|
- sudo apt-get update -q
|
|
|
|
- sudo apt-get install bitcoind -y
|
2017-06-21 17:12:53 +03:00
|
|
|
- export PATH=$PATH:$PWD/linux-amd64/
|
2016-07-26 02:39:22 +03:00
|
|
|
script:
|
2018-03-30 04:49:39 +03:00
|
|
|
- export PATH=$PATH:$GOPATH/bin
|
|
|
|
- make travis
|
2017-10-18 01:42:22 +03:00
|
|
|
after_script:
|
2018-04-27 12:58:21 +03:00
|
|
|
- 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'
|