minitor/.drone.yml

29 lines
545 B
YAML
Raw Normal View History

workspace:
base: /app
path: .
pipeline:
2018-04-12 01:16:26 +00:00
test:
image: python:3
commands:
2018-04-14 04:25:26 +00:00
- make test-env test
2018-04-12 01:16:26 +00:00
push_to_pypi:
image: python:3
commands:
2018-04-18 16:57:36 +00:00
- make build-env upload
2018-04-12 01:16:26 +00:00
secrets:
- source: PYPI_USERNAME
target: TWINE_USERNAME
- source: PYPI_PASSWORD
target: TWINE_PASSWORD
when:
event: tag
2018-04-18 17:14:29 +00:00
notify:
image: drillster/drone-email
host: $SMTP_HOST
username: $SMTP_USER
password: $SMTP_PASS
from: drone@iamthefij.com
when:
status: [ changed, failure ]