From b60415a968bbb616686b2db0690338b176c643d7 Mon Sep 17 00:00:00 2001 From: Michael Steinert Date: Thu, 9 Apr 2015 13:52:12 -0500 Subject: [PATCH] Another stab at goveralls --- .travis.yml | 3 ++- README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 23bc52f..385cb91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 887ddd6..41928ed 100644 --- a/README.md +++ b/README.md @@ -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