From 55205ca1d7038919b4d425ae3cc01c35fa03cc0f Mon Sep 17 00:00:00 2001 From: Marius Orcsik Date: Wed, 25 Jul 2018 13:07:50 +0200 Subject: [PATCH] Fix coverage generation --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4e2527d..6448bc5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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