From c1d98b45a2d9fc8385291ad12583611add43d848 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Sat, 13 Apr 2019 11:41:06 +0200 Subject: [PATCH] Tweak CI pipeline --- .drone.yml | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 96e9142..b70cbff 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,25 @@ -pipeline: - build: +--- +kind: pipeline +name: default +steps: + - name : lint + image: python:3 + commands: + - pip install -r requirements.txt + - pip install black flake8 mypy + - black --check . + - flake8 little_boxes + - mypy --ignore-missing-imports little_boxes + + - name: test image: python:3 commands: - pip install -r requirements.txt - pip install -r dev-requirements.txt - - mypy --version - - mypy --ignore-missing-imports little_boxes - - flake8 little_boxes - - black --check . - python -m pytest -vv --cov=little_boxes - codecov +--- +kind: signature +hmac: 1a911726b099fc76fc3ea1181f5c7b0c0e4d8d4b1b314204def5da7f21fb299b + +...