diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f5ea87f --- /dev/null +++ b/.drone.yml @@ -0,0 +1,24 @@ +local Pipeline(name, image) = { + kind: "pipeline", + name: name, + steps: [ + { + name: "test", + image: image, + commands: [ + "pip install -U pip", + "pip install -r requirements.txt", + "pip install pytest", + "pytest" + ] + } + ] +}; + +[ + Pipeline("python-3-5", "python:3.5"), + Pipeline("python-3-6", "python:3.6"), + Pipeline("python-3-7", "python:3.7"), + Pipeline("python-3-8", "python:3.8"), + Pipeline("python-3-9", "python:3.9"), +]