mirror of
https://github.com/pretix/pretix-servicefees.git
synced 2024-11-23 22:50:21 +01:00
Add GitLab CI config
This commit is contained in:
parent
c0686ba453
commit
23de62fbc2
1 changed files with 18 additions and 0 deletions
18
.gitlab-ci.yml
Normal file
18
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
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/
|
Loading…
Reference in a new issue