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
Stages and deploy support #32
Conversation
This reverts commit 257b79f.
Hm. The build matrix isn't generated correctly (there should be a separate job running for each version of python in |
I've asked the good people of stackoverflow, to see what they say about this. update: Question deleted, answer found here |
…bch/pirant into stages-and-deploy-support Conflicts: .travis.yml
All fixed up. Should work now, as expected. Of course, it remains to see if the deploy process works correctly - but you'd have to test this, since it requires a tag to be pushed to the repository. |
2 similar comments
1 similar comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you exclude files:
handlers.py
models.py
urlbuilder.py
from this commit since its a part of the last PR. Just to avoid unnecessary merge conflicts.
I branched this off PR #31, since I figured you'd merge that one before this. But if you tell me how I can go about excluding them from this PR, I'll get right on it! Or do I need to submit a new PR for that to work ? That might actually be easier. |
As mentioned in #30, the repo could do with some automated building.
I have add this support to the
.travis.yml
file. I have also added the us ofbuild stages
, which makes use of concurrent execution of jobs, which may help improve the speed of CI checks.the
Deploy
stage executes only for python 3.6, and creates abdsit_wheel
, which I believe to be universally installable. Correct me if I'm wrong here, I'm not well read on the differences of the distributions.In order to avoid building and pushing to
pypi
on every push, the conditionaltags: true
was added - that way, it is only built if you push a tagged commit.The password for pypi should be encrypted using the
travis CLI
- since I'm guessing you won't want to share your pypi password with the world ;) see here for more information about this:https://docs.travis-ci.com/user/deployment/pypi/
Let me know what you think!