Skip to content

Commit

Permalink
Added coverage reporting to CI pipeline, added badge for coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Robinson committed Apr 8, 2018
1 parent 6bfe8cf commit 330b615
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
language: go

go:
- stable

before_install:
- go get -u github.com/mattn/goveralls
script:
- go test -v -race ./...
- go test -v -race -covermode=count -coverprofile=profile.cov ./...
- go vet ./...
- goveralls -coverprofile=provile.cov -service=travis-ci
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
[![GoDoc](https://godoc.org/github.com/mrobinsn/go-newznab/newznab?status.svg)](https://godoc.org/github.com/mrobinsn/go-newznab/newznab)
[![Go Report Card](https://goreportcard.com/badge/github.com/mrobinsn/go-newznab)](https://goreportcard.com/report/github.com/mrobinsn/go-newznab)
[![Build Status](https://travis-ci.org/mrobinsn/go-newznab.svg?branch=master)](https://travis-ci.org/mrobinsn/go-newznab)
[![Coverage Status](https://coveralls.io/repos/github/mrobinsn/go-newznab/badge.svg?branch=master)](https://coveralls.io/github/mrobinsn/go-newznab?branch=master)
[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)


Expand Down

0 comments on commit 330b615

Please sign in to comment.