Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push to pypi only once per build #138

Open
johnraz opened this issue Oct 24, 2018 · 2 comments
Open

Push to pypi only once per build #138

johnraz opened this issue Oct 24, 2018 · 2 comments

Comments

@johnraz
Copy link
Collaborator

johnraz commented Oct 24, 2018

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.

@belugame
Copy link
Collaborator

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
Copy link
Collaborator

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

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

belugame pushed a commit that referenced this issue Oct 24, 2018
Fix for #138

We want to avoid that each item in the test matrix triggers a deployment
to pypi. This limits the deploy job to when the python version is 3.7,
hence it should only run once.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants