0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-23 15:53:07 -05:00
forgejo/.travis.yml

35 lines
711 B
YAML
Raw Normal View History

2014-05-07 15:57:25 -05:00
language: go
go:
2016-02-14 23:20:07 -05:00
- 1.6
- 1.7
2015-04-23 06:58:57 -05:00
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y libpam-dev
- go get github.com/msteinert/pam
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
script: |
go build -v -tags "pam"
for pkg in $(go list ./... | grep -v /vendor/)
do
go test -v -race -cover -coverprofile $GOPATH/src/$pkg/coverage.out $pkg || exit 1
done
after_success:
- bash <(curl -s https://codecov.io/bash)
2015-02-01 12:44:10 -05:00
notifications:
2015-08-10 00:07:01 -05:00
webhooks:
on_success: change
on_failure: always
on_start: never
2015-08-10 00:07:01 -05:00
urls:
- https://webhooks.gitter.im/e/ee6b822f3cf54c98e70c
- https://webhooks.gitter.im/e/87428658ef177ce8a7e4
- https://webhooks.gitter.im/e/a1d2b69804dfda72187e