forgejo-sdk/.drone.yml
techknowlogick 45516232e8
Update images used by drone for SDK (#154)
* Update images used by drone for SDK

* Update .drone.yml
2019-03-17 21:10:51 -04:00

34 lines
638 B
YAML

workspace:
base: /go
path: src/code.gitea.io/sdk
clone:
git:
image: plugins/git:next
depth: 50
tags: true
pipeline:
testing:
image: golang:1.12
pull: true
commands:
- make clean
- make vet
- make lint
- make test
- make build
# coverage:
# image: plugins/coverage:1
# pull: true
# secrets: [ github_token ]
# server: https://coverage.gitea.io
discord:
image: appleboy/drone-discord:1.0.0
pull: true
secrets: [ discord_webhook_id, discord_webhook_token ]
when:
event: [ push, tag, pull_request ]
status: [ changed, failure ]