[Travis docs](https://docs.travis-ci.com/user/deployment/pypi) explain how this can be done.
Travis docs explain how this can be done.