forgejo-sdk/.drone.yml

27 lines
512 B
YAML
Raw Normal View History

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