2014-05-07 15:57:25 -05:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
2015-02-01 12:41:03 -05:00
|
|
|
- 1.4
|
2015-08-27 07:48:29 -05:00
|
|
|
- 1.5
|
2016-02-14 23:20:07 -05:00
|
|
|
- 1.6
|
2014-12-26 19:23:10 -05:00
|
|
|
|
2015-04-23 06:58:57 -05:00
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y libpam-dev
|
2015-07-14 06:55:28 -05:00
|
|
|
- go get github.com/msteinert/pam
|
2015-02-01 12:41:03 -05:00
|
|
|
|
2015-11-03 12:29:14 -05:00
|
|
|
install:
|
2015-11-03 13:00:04 -05:00
|
|
|
- go get -t -v ./...
|
2015-11-03 12:29:14 -05:00
|
|
|
|
2016-02-14 23:20:07 -05:00
|
|
|
script:
|
|
|
|
- go build -v -tags "pam"
|
|
|
|
- go test -v -cover -race ./...
|
2015-02-01 12:44:10 -05:00
|
|
|
|
2015-02-01 12:41:03 -05:00
|
|
|
notifications:
|
|
|
|
email:
|
2015-02-16 02:51:39 -05:00
|
|
|
- u@gogs.io
|
2015-04-23 06:58:57 -05:00
|
|
|
slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx
|
2015-08-10 00:07:01 -05:00
|
|
|
webhooks:
|
|
|
|
urls:
|
|
|
|
- https://webhooks.gitter.im/e/b590f8e03882f7aedc3e
|
|
|
|
on_success: change
|
|
|
|
on_failure: always
|
|
|
|
on_start: never
|