Another stab at goveralls

This commit is contained in:
Michael Steinert
2015-04-09 13:52:12 -05:00
parent 7ad21d5bbc
commit b60415a968
2 changed files with 3 additions and 2 deletions

View File

@@ -13,4 +13,5 @@ before_install:
- go get golang.org/x/tools/cmd/cover
script:
- sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which goveralls) -service=travis-ci
- sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v -covermode=count -coverprofile=coverage.out .
- goveralls -coverprofile=coverage.out -service travis-ci -repotoken $REPO_TOKEN

View File

@@ -1,6 +1,6 @@
[![Build Status](https://travis-ci.org/msteinert/pam.svg?branch=master)](https://travis-ci.org/msteinert/pam)
[![GoDoc](https://godoc.org/github.com/msteinert/pam?status.svg)](http://godoc.org/github.com/msteinert/pam)
[![Coverage Status](https://coveralls.io/repos/msteinert/pam/badge.svg)](https://coveralls.io/r/msteinert/pam)
[![Coverage Status](https://coveralls.io/repos/msteinert/pam/badge.svg?branch=master)](https://coveralls.io/r/msteinert/pam?branch=master)
# Go PAM