pretix-servicefees/.gitlab-ci.yml

20 lines
603 B
YAML
Raw Normal View History

2018-03-03 21:27:49 +01:00
pypi:
script:
- cp /keys/.pypirc ~/.pypirc
- virtualenv env
- source env/bin/activate
2022-04-01 12:38:53 +02:00
- XDG_CACHE_HOME=/cache pip3 install -U pip wheel setuptools twine
2018-03-03 21:27:49 +01:00
- 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
2022-04-01 12:31:14 +02:00
- python setup.py develop
- python setup.py sdist bdist_wheel
- twine check dist/*
- twine upload dist/*
2018-03-03 21:27:49 +01:00
tags:
- python3
only:
- pypi
artifacts:
paths:
- dist/