Fix coverage generation
This commit is contained in:
parent
0eedce953c
commit
55205ca1d7
1 changed files with 4 additions and 3 deletions
|
@ -12,7 +12,8 @@ matrix:
|
|||
fast_finish: true
|
||||
|
||||
install:
|
||||
- go get github.com/modocache/gover
|
||||
- go get -v -u github.com/modocache/gover
|
||||
- go get -v -u github.com/buger/jsonparser
|
||||
- GOPATH=$GOPATH:$(pwd) go get -t -v ./...
|
||||
|
||||
script:
|
||||
|
@ -21,7 +22,7 @@ script:
|
|||
|
||||
after_success:
|
||||
- export GOPATH="$GOPATH:$(pwd)"
|
||||
- go test -cover -coverprofile activitypub.coverprofile activitypub
|
||||
- go test -cover -coverprofile jsonld.coverprofile jsonld
|
||||
- go test -cover -coverprofile activitypub.coverprofile github.com/mariusor/activitypub.go/activitypub
|
||||
- go test -cover -coverprofile jsonld.coverprofile github.com/mariusor/activitypub.go/jsonld
|
||||
- gover
|
||||
- bash <(curl -s https://codecov.io/bash) -f gover.coverprofile
|
||||
|
|
Reference in a new issue