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/