2015-07-28 19:16:16 -03:00
|
|
|
language: go
|
2018-07-20 16:31:26 -05:00
|
|
|
go_import_path: github.com/prysmaticlabs/prysm
|
2015-07-28 19:16:16 -03:00
|
|
|
sudo: false
|
2018-01-13 17:31:28 -05:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
2019-04-09 09:57:09 +08:00
|
|
|
dist: xenial
|
|
|
|
go: 1.12.x
|
2018-01-13 17:31:28 -05:00
|
|
|
env:
|
|
|
|
- lint
|
2019-02-05 20:38:29 -05:00
|
|
|
install:
|
|
|
|
- go get ${gobuild_args} -t ./...
|
2019-04-26 02:24:01 -04:00
|
|
|
- go get ${gobuild_args} github.com/golangci/golangci-lint/cmd/golangci-lint
|
2018-01-13 17:31:28 -05:00
|
|
|
script:
|
2019-07-22 14:10:17 -05:00
|
|
|
- golangci-lint run --skip-dirs ./proto
|
2019-02-05 10:46:32 -05:00
|
|
|
email: false
|
2018-09-09 22:50:04 -04:00
|
|
|
after_success:
|
|
|
|
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
|
|
|
|
- chmod +x send.sh
|
|
|
|
- ./send.sh success $WEBHOOK_URL
|
|
|
|
after_failure:
|
|
|
|
- wget https://raw.githubusercontent.com/k3rn31p4nic/travis-ci-discord-webhook/master/send.sh
|
|
|
|
- chmod +x send.sh
|
2018-09-16 12:27:02 -04:00
|
|
|
- ./send.sh failure $WEBHOOK_URL
|