Nice option to add: https://docs.travis-ci.com/user/deployment/pypi/ Deployment can be configured on [separate stages](https://docs.travis-ci.com/user/build-stages/) for test and deploy.