switch to drone.yml

This commit is contained in:
Marcell Vazquez-Chanlatte 2020-02-10 10:20:44 -08:00
parent 99690fa3fc
commit 500438ba85
2 changed files with 14 additions and 7 deletions

14
.drone.yml Normal file
View file

@ -0,0 +1,14 @@
kind: pipeline
name: default
steps:
- name: test
image: python:3.6
environment:
CODECOV_TOKEN:
from_secret: codecov_token
commands:
- pip install poetry
- poetry install
- poetry run pytest --flake8 --cov=mtl
- poetry run codecov

View file

@ -1,7 +0,0 @@
language: python
python:
- "3.6"
install: "pip install -r requirements.txt"
script: pytest --flake8 --cov=mtl --cov-report=html -n2
after_success:
- codecov