docker-pre-commit/.drone.yml
Ian Fijolek af49bee4e5
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
Add some tests and drone to run them
2020-01-28 15:21:42 -05:00

30 lines
620 B
YAML

---
kind: pipeline
name: test
workspace:
base: "/app"
path: "."
steps:
- name: test
image: python:3-alpine
commands:
- apk add bash shellcheck make gcc musl-dev libffi-dev openssl-dev
- pip install docker-compose
- make all
- name: notify
image: drillster/drone-email
settings:
host:
from_secret: SMTP_HOST # pragma: whitelist secret
username:
from_secret: SMTP_USER # pragma: whitelist secret
password:
from_secret: SMTP_PASS # pragma: whitelist secret
from: drone@iamthefij.com
when:
status: [changed, failure]