This token GITHUB_OAUTH_TOKEN is probably no good anymore for uploading Python wheels and source distros to GitHub anymore. You'll have to generate a new one, or ask @cedricleroy to do it and either add it directly to the travis build settings as a secret environment variable, or use their CLI to create a secure encrypted token that you add to .travis.yml - read their docs.
For PyPI, I don't know what the hell is wrong with it. It's possible that because it couldn't deploy to GitHub, and it tries that first, it just quit, and if that had succeeded it would have worked? Regardless, I already deployed it to PyPI this time. And for next time, you should have your own PyPI account, and so you can change the pypi username and password in travis.
This token
GITHUB_OAUTH_TOKEN
is probably no good anymore for uploading Python wheels and source distros to GitHub anymore. You'll have to generate a new one, or ask @cedricleroy to do it and either add it directly to the travis build settings as a secret environment variable, or use their CLI to create a secure encrypted token that you add to.travis.yml
- read their docs.See the build log from travis where it tried to deploy to GitHub:
For PyPI, I don't know what the hell is wrong with it. It's possible that because it couldn't deploy to GitHub, and it tries that first, it just quit, and if that had succeeded it would have worked? Regardless, I already deployed it to PyPI this time. And for next time, you should have your own PyPI account, and so you can change the pypi username and password in travis.