Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 6c475bb

Browse files
committed
call goveralls with an existing cover profile
1 parent cfeff0d commit 6c475bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ env:
1212
before_install:
1313
- go get github.com/axw/gocov/gocov
1414
- go get github.com/mattn/goveralls
15+
- go get github.com/gotestcover/gotestcover
1516
- if ! go get github.com/golang/tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
1617
script:
1718
- script/cibuild
18-
- $HOME/gopath/bin/goveralls -service=travis-ci
19+
after_success:
20+
- $HOME/gopath/bin/gotestcover -tags=fixtures -coverprofile=cover.out ./...
21+
- $HOME/gopath/bin/goveralls -service=travis-ci -coverprofile=cover.out

0 commit comments

Comments
 (0)