django-rest-knox icon indicating copy to clipboard operation
django-rest-knox copied to clipboard

Push to pypi only once per build

Open johnraz opened this issue 6 years ago • 2 comments

The test matrix is trying to deploy to pypi for every version we have.

pypi legitimately errors because we try to upload multiple time the same file.

We should find a way to tell travis to only push to pypi once.

johnraz avatar Oct 24 '18 18:10 johnraz

https://docs.travis-ci.com/user/build-stages/matrix-expansion/

this looks exactly like what we want. it tests a matrix but only deploys one item of it.

belugame avatar Oct 24 '18 18:10 belugame

this also looks like it fits us with using "on:"

https://stackoverflow.com/a/41543235/640916

belugame avatar Oct 24 '18 18:10 belugame