drone-webhook/.drone.yml

43 lines
728 B
YAML
Raw Normal View History

2015-11-03 19:31:25 +00:00
build:
image: golang:1.5
2016-01-22 22:07:06 +00:00
environment:
- CGO_ENABLED=0
2015-11-03 19:31:25 +00:00
commands:
- make deps
- make vet
- make build
- make test
2015-11-03 19:31:25 +00:00
publish:
coverage:
when:
branch: master
2015-11-03 19:31:25 +00:00
docker:
username: $$DOCKER_USER
2015-11-03 19:31:25 +00:00
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-webhook
tag: latest
2015-11-03 19:31:25 +00:00
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-webhook
tag: develop
when:
branch: develop
2015-11-03 19:31:25 +00:00
plugin:
name: Webhook
desc: Send build status notifications via Webhook
2015-11-03 19:31:25 +00:00
type: notify
image: plugins/drone-webhook
labels:
- notify
- webhook
2015-11-03 19:31:25 +00:00
- rest
- json
- hook