mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-08 18:04:14 +01:00
8 lines
355 B
YAML
8 lines
355 B
YAML
|
language: go
|
||
|
install:
|
||
|
- go get golang.org/x/tools/cmd/cover
|
||
|
- go get github.com/mattn/goveralls
|
||
|
script:
|
||
|
- go test -v -covermode=count -coverprofile=coverage.out
|
||
|
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ] && [ ! -z "$COVERALLS_TOKEN" ]; then $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN; fi'
|