summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Steinert <[email protected]>2015-04-09 13:52:12 -0500
committerMichael Steinert <[email protected]>2015-04-09 14:21:10 -0500
commitb60415a968bbb616686b2db0690338b176c643d7 (patch)
tree4b16b537afbccb9e14ad3f73a62b0efaaf7ea7b9
parent7ad21d5bbc124e7dfe1304812308eed89a7e06a4 (diff)
Another stab at goveralls
-rw-r--r--.travis.yml3
-rw-r--r--README.md2
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