pretix-servicefees/.gitlab-ci.yml
2022-11-29 20:49:01 +01:00

19 lines
603 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
- XDG_CACHE_HOME=/cache pip3 install -U pkginfo==1.8.3 # Work around https://github.com/pypa/twine/issues/940
- python setup.py develop
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload dist/*
tags:
- python3
only:
- pypi
artifacts:
paths:
- dist/