Add codecov integration

Signed-off-by: Rui Chen <chenrui333@gmail.com>
This commit is contained in:
Rui Chen 2020-01-20 19:08:53 -05:00
parent 7817074322
commit abcbf6622e
No known key found for this signature in database
GPG Key ID: 15A594F673F803E8

View File

@ -17,5 +17,7 @@ before_script:
script:
- DCO_VERBOSITY=-q ../project/script/validate/dco
- ../project/script/validate/fileheader ../project/
- ../project/script/validate/vendor
- go test -race -v ./...
- go test -v -race -covermode=atomic -coverprofile=coverage.txt ./...
after_success:
- bash <(curl -s https://codecov.io/bash)