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