2018-06-11 23:53:26 +02:00
|
|
|
os: linux
|
2022-05-04 18:27:35 +02:00
|
|
|
dist: bionic
|
2018-06-11 23:53:26 +02:00
|
|
|
language: go
|
|
|
|
go:
|
2022-05-04 18:27:35 +02:00
|
|
|
- 1.17.x
|
2019-01-09 19:05:41 +01:00
|
|
|
|
|
|
|
env:
|
2019-05-10 14:10:56 +02:00
|
|
|
global:
|
2019-05-10 14:27:24 +02:00
|
|
|
- GO111MODULE=on
|
2019-05-10 14:10:56 +02:00
|
|
|
#GITHUB_TOKEN
|
2019-05-10 14:27:24 +02:00
|
|
|
- secure: "P4YMfllsq/guf5swmBl80IHGvNfUM+5X2b+0LvQQxGJpY9TD6d+PW6U1C90HIT0CDk6UZbtlHyGN+oo+shsWnwMIaM4qmbGdRgtG4TZolXY1QtYQZFW9fTWeHM0wnJeXLV8V4vpTRHnkLrvT8PctbGp5pVOEtcV4y3sEnMP1rkxnMPeHtrDbTlpBmBYEziByEpbg3pe3CE9xVaDD9DqgW7VOOZnQQl7exTtjsIeJYI7OYvdidf/04p632/8WZP2EJbmA2HunfTydWtcD51lCF8V3IvhKKqH4/7sNOKfmUwTDyhLltk9eDcFsYR/FYsy8njH4QDBBrKo/bPq3jzgKF9BY7g28/jMTDY4vDY0Na+4a3+7sDqwdsZ+eiZrgWYUbZ4MwYtpUtcvp8gUz7Avs3v7BBgYsYpgLEW47bT6uNLGO+SdfSwBCYuxT5P0IGCv6wkgYcYgfqVafk+9FiwJlayP2j3wPOdauiYh4WnYX1Rt0zNvaiP5iBhkXwIv3VvUcI1Yu9k0eLDibzZlpR8fkGw3USl+omdjCvXDfJQW1ghMONTm0d7VPG84P/MRhJ+thoh1UwMaT3S0sdPznRnNL6XDntCRT1CZW4l0jfyCPDBW2qw8dWunULYsQZTPWnv4s+BuRRDsfGjyamH5b8evh0TOF+XNOFewmNvflWBNG2y0="
|
2019-01-09 19:05:41 +01:00
|
|
|
install: true
|
|
|
|
|
|
|
|
script:
|
|
|
|
# Fail if a .go file hasn't been formatted with gofmt
|
2019-05-10 14:27:24 +02:00
|
|
|
- test -z $(gofmt -s -l $(find . -iname '*.go' -type f))
|
2019-01-09 19:05:41 +01:00
|
|
|
- make
|
|
|
|
|
|
|
|
notifications:
|
2019-05-10 14:10:56 +02:00
|
|
|
email: false
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: ./scripts/deploy.sh
|
2019-05-10 14:27:24 +02:00
|
|
|
file: bin/lbry
|
2019-05-10 14:10:56 +02:00
|
|
|
on:
|
2019-05-10 14:27:24 +02:00
|
|
|
repo: lbryio/lbry.go
|
2019-05-10 14:10:56 +02:00
|
|
|
tags: true
|