Added drone yaml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Oly 2018-11-29 13:51:14 +00:00
parent d00f2f842c
commit 9d232ca4b1
1 changed files with 20 additions and 0 deletions

20
.drone.yml Normal file
View File

@ -0,0 +1,20 @@
kind: pipeline
name: default
steps:
- name: tests
image: python:3.6
commands:
- python setup.py test
- name: deploy
image: olymk2/drone-pypi
environment:
PYPI_USERNAME:
from_secret: PYPI_USERNAME
PYPI_PASSWORD:
from_secret: PYPI_PASSWORD
PYPI_REPOSITORY:
from_secret: PYPI_REPOSITORY
when:
event:
- tag