diff --git a/.travis.yml b/.travis.yml index 2143e4d..a5b4799 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,13 @@ language: go sudo: false go: - - 1.5 - - 1.6 - - 1.7 - - 1.8 + - 1.x before_install: - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover script: - - $HOME/gopath/bin/goveralls -service=travis-ci + - go test -cover ./... -coverprofile=coverage.txt -covermode=atomic notifications: email: false +after_success: + - bash <(curl -s https://codecov.io/bash) diff --git a/README.md b/README.md index 73fba9b..0936d7e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ # go-gently [![Go Report Card](https://goreportcard.com/badge/github.com/andrewlader/go-gently)](https://goreportcard.com/report/github.com/andrewlader/go-gently) -[![Build Status](https://travis-ci.org/AndrewLader/go-gently.svg?branch=master)](https://travis-ci.org/AndrewLader/go-gently) -[![Coverage Status](https://coveralls.io/repos/github/AndrewLader/go-gently/badge.svg?branch=master)](https://coveralls.io/github/AndrewLader/go-gently?branch=master) +[![Build Status](https://travis-ci.org/andrewlader/go-gently.svg?branch=master)](https://travis-ci.org/andrewlader/go-gently) +[![Coverage Status](https://codecov.io/gh/andrewlader/go-gently/branch/master/graph/badge.svg)](https://codecov.io/gh/andrewlader/go-gently) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/AndrewLader/go-gently/blob/master/LICENSE) The Go-Gently service is a Go language package to enable other Go services to gently shutdown when they receive a `SIGTERM`, `SIGINT` or `SIGQUIT` signal.