mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-30 13:51:30 +00:00
c28f7cb29f
Initial part of #435
25 lines
389 B
YAML
25 lines
389 B
YAML
---
|
|
language: go
|
|
|
|
go:
|
|
- 1.13.x
|
|
- 1.12.x
|
|
- 1.11.x
|
|
|
|
env:
|
|
global:
|
|
- GO111MODULE=on
|
|
|
|
install:
|
|
- go get -v golang.org/x/tools/cmd/cover github.com/mattn/goveralls
|
|
|
|
script:
|
|
- go test -v -covermode=count -coverprofile=coverage.out
|
|
|
|
after_script:
|
|
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci
|
|
|
|
notifications:
|
|
email: false
|
|
|
|
# vim: set ts=2 sw=2 et:
|