-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Set up Travis to build the peps #5
Comments
We can also require the build pass before accepting a PR, although @dstufft suggests we don't require the PR to be up-to-date (which makes sense since most PRs will be contained to a single PEP). |
Yea, two important things about requiring a build to pass before accepting a PR:
|
Oh, and specific to the first one, you can allow administrators to merge a PR even if things aren't passing (they get a "Are you sure?" prompt) as an escape hatch for the build being broken and needing multiple PRs to fix it. |
As if :-) Sent from my iPhone
|
#17 is a first step, but needs to be further refined. For example, it should be ensured that markup warnings in RST PEPs should make the build fail, which I don't think the current Makefile allows. |
Can somebody do something simple here? The discussion seems to have petered out with no clear conclusion. I'd say the better is the enemy of the good. I just want to see whether a PEP builds without warnings before merging it, since doing this manually is a huge pain. |
@gvanrossum We're currently using Travis to run If we want to make it so that Travis will fail on warnings as well as on errors, then we'll need to expose a way in the |
#45 will ensure that even warnings fail the build and not just errors. |
I see, cool. It should be simple enough to make a change to pep2html.py to I'm not sure what the point is of making the test required. In the other |
Making the tests required achieves a few things:
|
Thanks for pointing out the staleness of this issue, @fgregg ! I added a Travis badge to close out this issue. |
Make second round of edits
…metadata-scalability Update metadata scalability
That way we can make sure there are no errors.
Not sure if there's a way to make warnings into errors, but if there is then we should do that.
The text was updated successfully, but these errors were encountered: