diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e14c9f1 --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 16bb8e5..0000000 --- a/.travis.yml +++ /dev/null @@ -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