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.* _cgo_export.*
_testmain.go _testmain.go
coverage.txt
*.exe *.exe
*.test *.test
*.prof *.prof

View File

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

View File

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