mirror of
https://github.com/pinpox/gitea-matrix-bot
synced 2024-11-22 19:31:58 +01:00
Create .travis.yml
This commit is contained in:
parent
4ac02b8890
commit
4bb78f6d2b
23
.travis.yml
Normal file
23
.travis.yml
Normal file
@ -0,0 +1,23 @@
|
||||
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
|
||||
|
||||
script:
|
||||
- go build -x -v ./cmd/main.go
|
||||
- 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)
|
Loading…
Reference in New Issue
Block a user