Use new make target for drone

This commit is contained in:
IamTheFij 2018-04-13 21:25:26 -07:00
parent 27394535ec
commit 09fc0f6156

View File

@ -6,14 +6,11 @@ pipeline:
test: test:
image: python:3 image: python:3
commands: commands:
- python3 -m venv env - make test-env test
- ./env/bin/pip install tox
- make test
push_to_pypi: push_to_pypi:
image: python:3 image: python:3
commands: commands:
- ./env/bin/pip install twine - make build-env upload-test
- make upload-test
secrets: secrets:
- source: PYPI_USERNAME - source: PYPI_USERNAME
target: TWINE_USERNAME target: TWINE_USERNAME