Fix coverage generation

This commit is contained in:
Marius Orcsik 2018-07-25 13:07:50 +02:00
parent 0eedce953c
commit 55205ca1d7
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A

View file

@ -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