mirror of
https://github.com/pinpox/gitea-matrix-bot
synced 2024-11-22 10:21:58 +01:00
27 lines
491 B
YAML
27 lines
491 B
YAML
sudo: false
|
|
|
|
language: go
|
|
|
|
go:
|
|
- master
|
|
|
|
# Required for coverage, and testing.
|
|
before_install:
|
|
- go get golang.org/x/tools/cmd/cover
|
|
- go get github.com/mattn/goveralls
|
|
- go get github.com/binaryplease/matrix-bot
|
|
- go get gopkg.in/alecthomas/kingpin.v2
|
|
|
|
|
|
script:
|
|
- go build -x -v
|
|
- go test -race -coverprofile=coverage.txt -covermode=atomic -a -x -v *.go
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- pablo1@mailbox.org
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|