Add Coveralls.io
This commit is contained in:
@@ -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 @@
|
||||
[](https://travis-ci.org/msteinert/pam)
|
||||
[](http://godoc.org/github.com/msteinert/pam)
|
||||
[](https://coveralls.io/r/msteinert/pam)
|
||||
|
||||
# Go PAM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user