bytetrie/.drone.yml
Armin Friedl 4ad60a53eb
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is failing
Version 0.0.3
2020-10-10 15:59:26 +02:00

26 lines
510 B
YAML

kind: pipeline
type: docker
name: default
steps:
- name: validate
image: python:3
commands:
- pip install mypy pytest
- mypy bytetrie/*.py
- python -m pytest
- name: publish
image: python:3
environment:
TWINE_USERNAME: __token__
TWINE_PASSWORD:
from_secret: pypi_test_token
commands:
- pip install twine setuptools wheel
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload --repository testpypi dist/*
trigger:
event:
- tag