Run coverage tests once for all packages

This commit is contained in:
Marius Orcsik 2018-11-05 15:03:06 +01:00
parent 77b0d9a7d1
commit 1ff9ffddf4
No known key found for this signature in database
GPG key ID: 889CE8E4FB2D877A

View file

@ -23,8 +23,5 @@ script:
after_success:
- export GOPATH="$GOPATH:$(pwd)"
- go test -cover -coverprofile activitystreams.coverprofile github.com/mariusor/activitypub.go/activitystreams
- 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
- go test -cover -coverprofile activitypub.coverprofile ./...
- bash <(curl -s https://codecov.io/bash) -f activitypub.coverprofile