-
Notifications
You must be signed in to change notification settings - Fork 147
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
How to keep travis happy? #118
Comments
#116 could have been avoided by noticing that #115 had a little red
The target is called If we want something stronger, there's some arcane wizardry that Anders wrote in
This would interfere with my workflow, though I could be convinced. |
I agree that #116 was completely avoidable; I agree that just making going through the (not that significant) effort of checking travis status indicators before merging branches that have already been built by travis would improve things. The Makefile wizardry you mentioned indeed looks quite arcane, I think we can do without it (except, maybe if it was a part of coq_makefile, but that is not the case). I guess "don't fuck up" isn't that satisfying a resolution, but if we can't come up with anything that would fit our overall preferences than that, I guess that's what we will do. I will leave this issue open for a bit, just in case we have anything to add. |
Also, about PR-s: I believe travis being happy with a PR does not actually mean that the merged version will build. Am I correct on this? |
Yes, because merge is not a no-op. Travis tests the branch, not the merged version. We can potentially fix this by having Travis merge origin/master into the current branch before building; we'd want this as a separate build line item, because otherwise you'll get confused about why you can't locally reproduce the Travis build failure. |
Also, if you enable Travis on your fork of the repo, I believe you will (or can configure it to) get emails when your branches fail to build. |
This option seems by far the most reasonable to me, and would not interrupt my workflow. |
Closing due to inactivity. |
We want to keep the travis-CI builds passing, both for our own convenience of working on master and because coq uses fiat-crypto#master as an integration test. This issue is about how to avoid needless failing travis builds. #116 was my fault, but this is not the first time we have optimistically merged something to master in hope that it will work, and saw that it actually didn't build. Ideally, we would fully re-build and test before we push. However, "just test it first" is probably not the best idea given that a complete build on one version takes roughly half an hour. Here are some other ideas on improving this general situation.
The text was updated successfully, but these errors were encountered: