First steps for drone CI script.

This commit is contained in:
2021-07-03 18:53:01 +02:00
parent 88d91af382
commit 60943f3423

22
.drone.yml Normal file
View File

@@ -0,0 +1,22 @@
---
kind: pipeline
type: docker
name: torrentSearch
platform:
os: linux
arch: amd64
steps:
- name: Install python
image: python:3.8
commands:
- python setup.py install
- pytest
- name: Upload coverage report
image: python:3.8
commands:
- python setup.py install
- coverage run -m pytest
- codecov -t $CODECOV_TOKEN