forgejo-sdk/.drone.yml
Bo-Yi Wu 0ccfe01abb switch gitter to discord for drone. (#62)
* switch gitter to discord for drone.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

* add changed status

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-06-16 10:46:36 +08:00

26 lines
512 B
YAML

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