Open Richard-Mathie opened 5 years ago
In googling to fix this for my own repository, I came across your issue.
I believe this is due to the build artifacts getting "cleaned" in the "Preparing deploy" step in Travis just before they are deployed to PyPi in the "Deploy Application" step directly after.
The remedy, I found is to add skip_cleanup: true
in your .travis.yml
Below is from your build found here: https://travis-ci.org/amey-sam/Flask-MailGun/jobs/460912350
Also, since your Travis build has multiple version builds, each one will try to deploy your application. The first one to finish will succeed but all others after will fail on the PyPi side with "version already exists" type error. Thus, will also need the skip_existing: true
statement as well
https://github.com/FaradayRF/faradayio/issues/35 https://github.com/travis-ci/travis-ci/issues/10056