pymod deployment to pypi through travis

This commit is contained in:
Thomas Ferreira de Lima 2019-04-02 19:46:40 -04:00
parent 14e2d9f632
commit 70e6d70988
No known key found for this signature in database
GPG Key ID: 43E98870EAA0A86E
2 changed files with 10 additions and 1 deletions

View File

@ -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

View File

@ -322,7 +322,7 @@ class Config(object):
"""
Gets the version string
"""
return "0.26.0.dev13"
return "0.26.0.dev14"
config = Config()