From 500438ba85b5a0647ff851f24c36e293c6f59e24 Mon Sep 17 00:00:00 2001 From: Marcell Vazquez-Chanlatte Date: Mon, 10 Feb 2020 10:20:44 -0800 Subject: [PATCH] switch to drone.yml --- .drone.yml | 14 ++++++++++++++ .travis.yml | 7 ------- 2 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 .drone.yml delete mode 100644 .travis.yml 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