From 2b81993531e2fbec2e502435120157efa12f2b36 Mon Sep 17 00:00:00 2001 From: tsuyoshiwada Date: Sat, 24 Feb 2018 02:33:58 +0900 Subject: [PATCH 1/2] test: Add coverage measurement using coveralls --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 67890fbd..0836ac29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ notifications: go: - 1.9 before_install: + - go get github.com/mattn/goveralls - go get github.com/mitchellh/gox - go get github.com/tcnksm/ghr before_script: @@ -13,6 +14,7 @@ before_script: - timedatectl script: - make test + - goveralls -service=travis-ci branches: only: - master From 7fe88a3f613cbf4908bb4fa67098f9ecfd01d3b5 Mon Sep 17 00:00:00 2001 From: tsuyoshiwada Date: Sat, 24 Feb 2018 02:34:26 +0900 Subject: [PATCH 2/2] docs: Add coveralls status badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 8e6124b6..e251a39c 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![godoc.org](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](https://godoc.org/github.com/git-chglog/git-chglog) [![Travis](https://img.shields.io/travis/git-chglog/git-chglog.svg?style=flat-square)](https://travis-ci.org/git-chglog/git-chglog) +[![Coverage Status](https://img.shields.io/coveralls/github/git-chglog/git-chglog.svg?style=flat-square)](https://coveralls.io/github/git-chglog/git-chglog?branch=master) [![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://github.com/git-chglog/git-chglog/blob/master/LICENSE) > CHANGELOG generator implemented in Go (Golang).