Fix coverage generation
This commit is contained in:
parent
0eedce953c
commit
55205ca1d7
|
@ -12,7 +12,8 @@ matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
|
|
||||||
install:
|
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 ./...
|
- GOPATH=$GOPATH:$(pwd) go get -t -v ./...
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
@ -21,7 +22,7 @@ script:
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- export GOPATH="$GOPATH:$(pwd)"
|
- export GOPATH="$GOPATH:$(pwd)"
|
||||||
- go test -cover -coverprofile activitypub.coverprofile activitypub
|
- go test -cover -coverprofile activitypub.coverprofile github.com/mariusor/activitypub.go/activitypub
|
||||||
- go test -cover -coverprofile jsonld.coverprofile jsonld
|
- go test -cover -coverprofile jsonld.coverprofile github.com/mariusor/activitypub.go/jsonld
|
||||||
- gover
|
- gover
|
||||||
- bash <(curl -s https://codecov.io/bash) -f gover.coverprofile
|
- bash <(curl -s https://codecov.io/bash) -f gover.coverprofile
|
||||||
|
|
Reference in a new issue