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
|
2018-10-13 14:23:41 +09:00
|
|
|
go: 1.11.x
|
2018-01-13 17:31:28 -05:00
|
|
|
env:
|
|
|
|
- lint
|
|
|
|
script:
|
2018-07-07 13:23:19 -04:00
|
|
|
-
|
2018-12-23 23:35:34 -06:00
|
|
|
go get github.com/alecthomas/gometalinter && gometalinter --install && gometalinter ./...
|
2018-08-06 23:58:21 -04:00
|
|
|
- os: linux
|
2019-01-03 21:47:28 -05:00
|
|
|
go: 1.11.x
|
2018-08-06 23:58:21 -04:00
|
|
|
env:
|
|
|
|
- coverage
|
|
|
|
script:
|
2018-09-01 21:25:06 -05:00
|
|
|
- ./scripts/coverage.sh
|
2018-08-06 23:58:21 -04:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2018-09-09 22:50:04 -04:00
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
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
|