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