2014-05-07 14:57:25 -06:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2016-02-14 21:20:07 -07:00
|
|
|
- 1.6
|
2016-08-15 19:40:32 -06:00
|
|
|
- 1.7
|
2014-12-26 17:23:10 -07:00
|
|
|
|
2015-04-23 05:58:57 -06:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y libpam-dev
|
2015-02-01 10:41:03 -07:00
|
|
|
|
2016-11-03 16:19:17 -06:00
|
|
|
script:
|
|
|
|
- go build -v -tags 'cert sqlite pam miniwinsvc'
|
|
|
|
- |
|
|
|
|
for pkg in $(go list ./... | grep -v /vendor/)
|
|
|
|
do
|
|
|
|
go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
|
|
|
|
done
|
2016-11-03 08:50:44 -06:00
|
|
|
|
|
|
|
after_success:
|
|
|
|
- bash <(curl -s https://codecov.io/bash)
|
2015-02-01 10:44:10 -07:00
|
|
|
|
2015-02-01 10:41:03 -07:00
|
|
|
notifications:
|
2015-08-09 23:07:01 -06:00
|
|
|
webhooks:
|
2016-11-03 08:50:44 -06:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|
2015-08-09 23:07:01 -06:00
|
|
|
urls:
|
2016-11-03 08:50:44 -06:00
|
|
|
- https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
|
|
|
|
- https://webhooks.gitter.im/e/87428658ef177ce8a7e4
|
|
|
|
- https://webhooks.gitter.im/e/a1d2b69804dfda72187e
|