Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDeploy to PyPI from Travis CI #430
Conversation
Codecov Report
@@ Coverage Diff @@
## master #430 +/- ##
=======================================
Coverage 90.52% 90.52%
=======================================
Files 50 50
Lines 6973 6973
Branches 1328 1328
=======================================
Hits 6312 6312
Misses 502 502
Partials 159 159Continue to review full report at Codecov.
|
Perhaps stupid question, "Test PyPI"? |
|
It's "a separate instance of the Python Package Index that allows you to try distribution tools and processes without affecting the real index". I find it useful to deploy to TestPyPI on untagged merges to master. That way, it's actually testing the release process and machinery, to give confidence that tagged builds deploy to production PyPI. For example, I have it set up in https://github.com/hugovk/pypistats, which also uses setuptools_scm, so the dev version number automatically updates, and so a new upload can go to TestPyPI for each merge. Another benefit is it creates WIP builds which people could use for testing in between releases. More info on TestPyPI: |
This should help make releasing easier.
Will only trigger when run from the
html5lib/html5lib-pythonrepo, so not for forks.TODO:
html5lib-ciat https://test.pypi.org/manage/account/token/travis encryptpypi-password: secure: "TODO"value on line 53More info on PyPI API tokens: https://pypi.org/help/#apitoken