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