2014-05-08 02:27:25 +05:30
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2016-02-15 09:50:07 +05:30
|
|
|
- 1.6
|
2016-08-16 07:10:32 +05:30
|
|
|
- 1.7
|
2014-12-27 05:53:10 +05:30
|
|
|
|
2015-04-23 17:28:57 +05:30
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y libpam-dev
|
2016-11-03 20:20:44 +05:30
|
|
|
- go get github.com/msteinert/pam
|
2015-02-01 23:11:03 +05:30
|
|
|
|
2015-11-03 22:59:14 +05:30
|
|
|
install:
|
2015-11-03 23:30:04 +05:30
|
|
|
- go get -t -v ./...
|
2015-11-03 22:59:14 +05:30
|
|
|
|
2016-11-03 20:20:44 +05:30
|
|
|
script: |
|
|
|
|
go build -v -tags "pam"
|
|
|
|
|
|
|
|
for pkg in $(go list ./... | grep -v /vendor/)
|
|
|
|
do
|
|
|
|
go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
|
|
|
|
done
|
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2015-02-01 23:14:10 +05:30
|
|
|
|
2015-02-01 23:11:03 +05:30
|
|
|
notifications:
|
2015-08-10 10:37:01 +05:30
|
|
|
webhooks:
|
2016-11-03 20:20:44 +05:30
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|
2015-08-10 10:37:01 +05:30
|
|
|
urls:
|
2016-11-03 20:20:44 +05:30
|
|
|
- https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
|
|
|
|
- https://webhooks.gitter.im/e/87428658ef177ce8a7e4
|
|
|
|
- https://webhooks.gitter.im/e/a1d2b69804dfda72187e
|