woodpecker-email/.drone.yml

39 lines
670 B
YAML
Raw Normal View History

build:
image: golang:1.5
environment:
- CGO_ENABLED=0
commands:
2015-12-11 09:46:07 +01:00
- make deps
- make vet
2015-12-11 09:46:07 +01:00
- make build
- make test
publish:
coverage:
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-email
tag: latest
when:
branch: master
docker:
username: $$DOCKER_USER
password: $$DOCKER_PASS
email: $$DOCKER_EMAIL
repo: plugins/drone-email
tag: develop
when:
branch: develop
plugin:
name: Email
2015-12-11 09:46:07 +01:00
desc: Send build status notifications via Email
type: notify
image: plugins/drone-email
labels:
- email