forgejo/.travis.yml

30 lines
505 B
YAML
Raw Normal View History

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