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 develop - python setup.py sdist bdist_wheel - twine check dist/* - twine upload dist/* tags: - python3 only: - pypi artifacts: paths: - dist/