docker-pre-commit/.drone.yml
Ian Fijolek d0670c0c9f
Some checks failed
continuous-integration/drone/push Build is failing
Switch to debian slim base for tests
This makes improved builds speeds much faster since
it supports wheels out of the box
2020-01-30 10:21:02 -08:00

31 lines
621 B
YAML

---
kind: pipeline
name: test
workspace:
base: "/app"
path: "."
steps:
- name: test
image: python:3-slim
commands:
- apt-get update
- apt-get install --no-install-recommends make
- 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]