Add .gitlab-ci.yml

This commit is contained in:
Stephen Anyango 2021-03-17 05:12:45 +00:00
parent 97eab72b78
commit 8384792618

14
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,14 @@
image: python:3.8
wheel:
stage: build
script:
- pip install twine
- python setup.py sdist bdist_wheel
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url $PYPI_SERVER dist/*
artifacts:
paths:
- dist/
only:
refs:
- master