From b907682fa32c386559c66065030f14a62776395b Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Sat, 9 Dec 2017 19:59:12 -0500 Subject: [PATCH] .travis.yml: Calculate Go test coverage across all internal/ packages --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8ee80f7..2d6753b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -59,7 +59,7 @@ script: - touch $GOPATH/src/github.com/aclindsa/moneygo/internal/handlers/cusip_list.csv # Build and test MoneyGo - go generate -v github.com/aclindsa/moneygo/internal/handlers - - go test -v -covermode=count -coverprofile=coverage.out github.com/aclindsa/moneygo/internal/handlers + - go test -v -covermode=count -coverpkg github.com/aclindsa/moneygo/internal/config,github.com/aclindsa/moneygo/internal/handlers,github.com/aclindsa/moneygo/internal/models,github.com/aclindsa/moneygo/internal/store,github.com/aclindsa/moneygo/internal/store/db -coverprofile=coverage.out github.com/aclindsa/moneygo/internal/handlers # Report the test coverage after_script: