2014-05-08 05:57:25 +09:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2016-02-15 13:20:07 +09:00
|
|
|
- 1.6
|
2016-08-16 10:40:32 +09:00
|
|
|
- 1.7
|
2014-12-27 09:23:10 +09:00
|
|
|
|
2015-04-23 20:58:57 +09:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y libpam-dev
|
2016-11-03 23:50:44 +09:00
|
|
|
- go get github.com/msteinert/pam
|
2015-02-02 02:41:03 +09:00
|
|
|
|
2015-11-04 02:29:14 +09:00
|
|
|
install:
|
2015-11-04 03:00:04 +09:00
|
|
|
- go get -t -v ./...
|
2015-11-04 02:29:14 +09:00
|
|
|
|
2016-11-03 23:50:44 +09:00
|
|
|
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-02 02:44:10 +09:00
|
|
|
|
2015-02-02 02:41:03 +09:00
|
|
|
notifications:
|
2015-08-10 14:07:01 +09:00
|
|
|
webhooks:
|
2016-11-03 23:50:44 +09:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|
2015-08-10 14:07:01 +09:00
|
|
|
urls:
|
2016-11-03 23:50:44 +09:00
|
|
|
- https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
|
|
|
|
- https://webhooks.gitter.im/e/87428658ef177ce8a7e4
|
|
|
|
- https://webhooks.gitter.im/e/a1d2b69804dfda72187e
|