diff options
author | Michael Steinert <[email protected]> | 2015-04-09 13:44:52 -0500 |
---|---|---|
committer | Michael Steinert <[email protected]> | 2015-04-09 13:44:52 -0500 |
commit | 7ad21d5bbc124e7dfe1304812308eed89a7e06a4 (patch) | |
tree | 06fa7ba032db0e6a8818b80ee9e25ca4143da49d | |
parent | 9d2ea3b16d933b82fec919ceb793c6b6dd5b9604 (diff) |
Add Coveralls.io
-rw-r--r-- | .travis.yml | 6 | ||||
-rw-r--r-- | README.md | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 9a47db3..23bc52f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,9 @@ before_install: - sudo apt-get update -qq - sudo apt-get install -qq --no-install-recommends libpam0g-dev - sudo useradd -d /tmp/test -p '$1$Qd8H95T5$RYSZQeoFbEB.gS19zS99A0' -s /bin/false test + - go get github.com/axw/gocov/gocov + - go get github.com/mattn/goveralls + - go get golang.org/x/tools/cmd/cover script: - - go get golang.org/x/tools/cmd/cover - - sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which go) test -v -cover . + - sudo GOROOT=$GOROOT GOPATH=$GOPATH $(which goveralls) -service=travis-ci @@ -1,5 +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) # Go PAM |