pretix-servicefees/.gitlab-ci.yml
2022-04-01 12:38:53 +02:00

18 lines
484 B
YAML

pypi:
script:
- cp /keys/.pypirc ~/.pypirc
- virtualenv env
- source env/bin/activate
- XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools twine
- XDG_CACHE_HOME=/cache pip3 install -U pretix
- python setup.py develop
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload dist/*
tags:
- python3
only:
- pypi
artifacts:
paths:
- dist/