go-sdk/.drone.yml

27 строки
512 B
YAML
Исходник Обычный вид История

2016-11-07 15:42:13 +03:00
workspace:
base: /srv/app
path: src/code.gitea.io/sdk
2016-11-07 15:42:13 +03:00
pipeline:
testing:
image: webhippie/golang:latest
pull: true
commands:
- make clean
- make vet
2016-11-10 23:06:17 +03:00
- make lint
2016-11-07 15:42:13 +03:00
- make test
- make build
coverage:
image: plugins/coverage
server: https://coverage.gitea.io
2016-11-07 15:42:13 +03:00
discord:
image: appleboy/drone-discord
webhook_id: ${WEBHOOK_ID}
webhook_token: ${WEBHOOK_TOKEN}
when:
event: [ push, tag, pull_request ]
status: [ changed, failure ]