Add drone config

This commit is contained in:
Luke Murphy 2020-08-18 10:32:30 +02:00
parent 33ebb2f8ef
commit 1cc332e838
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
---
matrix:
include:
- IMAGE: 3.6-stretch
TOXENV: py36
- IMAGE: 3.7-stretch
TOXENV: py37
- IMAGE: 3.8-buster
TOXENV: py38
- IMAGE: 3.8-buster
TOXENV: lint
- IMAGE: 3.8-buster
TOXENV: sort
- IMAGE: 3.8-buster
TOXENV: format
- IMAGE: 3.8-buster
TOXENV: type
pipeline:
build:
image: python:${IMAGE}
commands:
- pip install tox
- tox -e ${TOXENV}