Move coveralls to after_success

This commit is contained in:
Marius Orcsik 2017-10-01 14:27:18 +02:00
parent f170ed1e81
commit 4d271bf834
No known key found for this signature in database
GPG key ID: C36D1EBE93A6EEAE

View file

@ -16,8 +16,9 @@ install:
- go get github.com/mattn/goveralls - go get github.com/mattn/goveralls
script: script:
- export GOPATH=$GOPATH:$(pwd)
- go test -v ./... - go test -v ./...
after_success:
- go test -covermode=count -coverprofile=coverage_activitypub.out activitypub - go test -covermode=count -coverprofile=coverage_activitypub.out activitypub
- go test -covermode=count -coverprofile=coverage_jsonld.out jsonld - go test -covermode=count -coverprofile=coverage_jsonld.out jsonld
- goveralls -coverprofile=coverage_activitypub.out -service=travis-ci -repotoken $COVERALLS_TOKEN - goveralls -coverprofile=coverage_activitypub.out -service=travis-ci -repotoken $COVERALLS_TOKEN