prysm-pulse/.travis.yml
2018-12-24 13:35:34 +08:00

30 lines
842 B
YAML

language: go
go_import_path: github.com/prysmaticlabs/prysm
sudo: false
matrix:
include:
- os: linux
go: 1.11.x
env:
- lint
script:
-
go get github.com/alecthomas/gometalinter && gometalinter --install && gometalinter ./...
- os: linux
env:
- coverage
script:
- ./scripts/coverage.sh
- bash <(curl -s https://codecov.io/bash)
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
- ./send.sh failure $WEBHOOK_URL