Add .gitlab-ci.yml
This commit is contained in:
parent
97eab72b78
commit
8384792618
1 changed files with 14 additions and 0 deletions
14
.gitlab-ci.yml
Normal file
14
.gitlab-ci.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue