mirror of
https://github.com/aclindsa/moneygo.git
synced 2024-10-31 16:00:05 -04:00
.travis.yml: Calculate Go test coverage across all internal/ packages
This commit is contained in:
parent
9cdf4f3c29
commit
b907682fa3
@ -59,7 +59,7 @@ script:
|
|||||||
- touch $GOPATH/src/github.com/aclindsa/moneygo/internal/handlers/cusip_list.csv
|
- touch $GOPATH/src/github.com/aclindsa/moneygo/internal/handlers/cusip_list.csv
|
||||||
# Build and test MoneyGo
|
# Build and test MoneyGo
|
||||||
- go generate -v github.com/aclindsa/moneygo/internal/handlers
|
- 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
|
# Report the test coverage
|
||||||
after_script:
|
after_script:
|
||||||
|
Loading…
Reference in New Issue
Block a user