Files
webhooks/.travis.yml
T
2021-01-10 01:30:18 +03:00

31 lines
670 B
YAML

language: go
go:
- 1.15.6
- tip
matrix:
allow_failures:
- go: tip
notifications:
email:
recipients: dean.karn@gmail.com
on_success: change
on_failure: always
before_install:
- go get -u github.com/go-playground/overalls
- go get -u github.com/mattn/goveralls
- go get -u golang.org/x/tools/cmd/cover
before_script:
- go mod download
script:
- make lint
- make test
after_success: |
[ $TRAVIS_GO_VERSION = 1.15.6 ] &&
overalls -project="github.com/go-playground/webhooks" -covermode=count -ignore=.git,_examples,testdata -debug &&
goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN