switch to drone.yml
This commit is contained in:
parent
99690fa3fc
commit
500438ba85
2 changed files with 14 additions and 7 deletions
14
.drone.yml
Normal file
14
.drone.yml
Normal 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
|
||||||
|
|
@ -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
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue