pretix-servicefees/.gitlab-ci.yml
2018-03-03 21:27:49 +01:00

18 lines
503 B
YAML

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