Added drone yaml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d00f2f842c
commit
9d232ca4b1
|
@ -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
|
Loading…
Reference in New Issue