mirror of https://github.com/KLayout/klayout.git
pymod deployment to pypi through travis
This commit is contained in:
parent
14e2d9f632
commit
70e6d70988
|
|
@ -578,4 +578,13 @@ script:
|
|||
fi
|
||||
|
||||
after_success:
|
||||
# upload to dropbox
|
||||
# need DROPBOX_OAUTH_BEARER environment variable
|
||||
- dropbox-deployment
|
||||
|
||||
# uploading to pypi using twine
|
||||
# need TWINE_USERNAME, TWINE_PASSWORD and TWINE_REPOSITORY_URL env variable
|
||||
- if [ "$PYTHON_BUILD" = true ] || [ "$DOCKER_BUILD" = true ]; then
|
||||
pip install -U twine;
|
||||
twine upload --skip-existing deploy/dist-pymod/$klayout_version/*;
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue