Getting coverage setup

This commit is contained in:
Dan Markham 2019-04-05 01:30:06 -07:00
parent cff78b5241
commit 5dff465061
No known key found for this signature in database
GPG Key ID: 7994037517927D77
3 changed files with 3 additions and 2 deletions

2
.gitignore vendored
View File

@ -20,7 +20,7 @@ _cgo_gotypes.go
_cgo_export.*
_testmain.go
coverage.txt
*.exe
*.test
*.prof

View File

@ -11,6 +11,7 @@ env:
- GO111MODULE=on
after_success:
- make build-cli
- bash <(curl -s https://codecov.io/bash)
deploy:
provider: releases
api_key:

View File

@ -1,7 +1,7 @@
test:
go test -v ./...
go test -race -coverprofile=coverage.txt -covermode=atomic
build-cli: clean
-mkdir -p ./cli/build