diff --git a/.travis.yml b/.travis.yml index 7fb3958..f9daf34 100644 --- a/.travis.yml +++ b/.travis.yml @@ -20,4 +20,7 @@ install: - docker-compose up -d script: - - go test -v github.com/paypal/gorealis + - go test -race -coverprofile=coverage.txt -covermode=atomic -v github.com/paypal/gorealis + +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index 82ddc2f..f2c7eca 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # gorealis [![GoDoc](https://godoc.org/github.com/paypal/gorealis?status.svg)](https://godoc.org/github.com/paypal/gorealis) [![Build Status](https://travis-ci.org/paypal/gorealis.svg?branch=master)](https://travis-ci.org/paypal/gorealis) +[![codecov](https://codecov.io/gh/paypal/gorealis/branch/master/graph/badge.svg)](https://codecov.io/gh/paypal/gorealis) Go library for interacting with [Apache Aurora](https://github.com/apache/aurora).