mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-22 17:34:03 +03:00
31 lines
513 B
YAML
31 lines
513 B
YAML
language: go
|
|
|
|
go:
|
|
- 1.4
|
|
- 1.5
|
|
- 1.6
|
|
- 1.7
|
|
|
|
before_install:
|
|
- sudo apt-get update -qq
|
|
- sudo apt-get install -y libpam-dev
|
|
- go get github.com/msteinert/pam
|
|
|
|
install:
|
|
- go get -t -v ./...
|
|
|
|
script:
|
|
- go build -v -tags "pam"
|
|
- go test -v -cover -race ./...
|
|
|
|
notifications:
|
|
email:
|
|
- u@gogs.io
|
|
slack: gophercn:o5pSanyTeNhnfYc3QnG0X7Wx
|
|
webhooks:
|
|
urls:
|
|
- https://webhooks.gitter.im/e/b590f8e03882f7aedc3e
|
|
on_success: change
|
|
on_failure: always
|
|
on_start: never
|