<div dir="ltr">While we are in the Travis-bashing mode (sort of), is there a way to get Travis to send a message to the creator of the PR that the tests failed?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 9, 2015 at 12:40 PM, Nathaniel Smith <span dir="ltr"><<a href="mailto:njs@pobox.com" target="_blank">njs@pobox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">(BTW, experimenting with homu is super easy: you go to<br>
<a href="http://homu.io/n/" rel="noreferrer" target="_blank">http://homu.io/n/</a> and type in the name of your repo to register. This<br>
by itself doesn't do much -- the only thing the bot does spontaneously<br>
is post a comment on old PRs when they become unmergeable due to<br>
conflicts, which is kinda nice but whatever [1]. But then if you want<br>
to use the actual functionality, you can now type "@homu: r+" in a PR<br>
comment, and the bot will wake up and run the tests and merge if they<br>
pass. At least if the person making the comment is on @homu's list of<br>
trusted reviewers.)<br>
<br>
-n<br>
<br>
[1] Example: <a href="https://github.com/numpy/numpy/pull/6053#issuecomment-143870423" rel="noreferrer" target="_blank">https://github.com/numpy/numpy/pull/6053#issuecomment-143870423</a><br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Nov 9, 2015 at 9:33 AM, Nathaniel Smith <<a href="mailto:njs@pobox.com">njs@pobox.com</a>> wrote:<br>
> On Mon, Nov 9, 2015 at 9:20 AM, Eric Firing <<a href="mailto:efiring@hawaii.edu">efiring@hawaii.edu</a>> wrote:<br>
>> On 2015/11/09 7:11 AM, Thomas Caswell wrote:<br>
>>><br>
>>> As a side note, I think you can force Travis to re run on top of the<br>
>>> current master by closing and reopening the issue.<br>
>>><br>
>><br>
>> Also, if you go into the Travis page showing the build, there is a "redo"<br>
>> circle with circular arrow that triggers a re-run. If that suffices, it is<br>
>> nicer than adding the clutter of close/reopen, which will trigger two emails<br>
>> to each follower.<br>
><br>
> Kinda annoying when what you really want is a single button you press<br>
> that means "re-run the tests if necessary, and if they pass, then<br>
> merge".<br>
><br>
> Homu might suffice for this:<br>
> <a href="http://homu.io/" rel="noreferrer" target="_blank">http://homu.io/</a><br>
> It's designed to provide similar functionality, but predates Github's<br>
> new protected branch stuff, so projects using Homu generally just use<br>
> social convention to enforce that no-one commits directly :-). But the<br>
> homu UX does provide that 'single button' -- you post a comment saying<br>
> "this looks good to me" in the special bot-language, and then the bot<br>
> double-checks that the tests still pass when merging into current<br>
> master, and if so then it pushes them.<br>
><br>
> And, since it uses the Travis infrastructure to re-run the tests, I<br>
> think it might well automagically work with the new protected branch<br>
> feature, since Github should be able to see that the merged branch<br>
> that homu is trying to push has had the tests run on it.<br>
><br>
> (It also provides a useful serialization point -- the way Github's<br>
> protected branches work right now, if you're trying to work with them<br>
> manually and two people are trying to get a PR merged at the same<br>
> time, then they both click the "rebuild" button, they both get a green<br>
> light, they both click merge, one of them wins, and then the other has<br>
> to go rebuild *again*. With homu, they'd each post an "I approve"<br>
> message, and then Homu would take care of the race condition by<br>
> picking one of them to test-and-merge first, and then the other.)<br>
><br>
> -n<br>
><br>
> --<br>
> Nathaniel J. Smith -- <a href="http://vorpus.org" rel="noreferrer" target="_blank">http://vorpus.org</a><br>
<br>
<br>
<br>
--<br>
Nathaniel J. Smith -- <a href="http://vorpus.org" rel="noreferrer" target="_blank">http://vorpus.org</a><br>
_______________________________________________<br>
Matplotlib-devel mailing list<br>
<a href="mailto:Matplotlib-devel@python.org">Matplotlib-devel@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/matplotlib-devel" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/matplotlib-devel</a><br>
</div></div></blockquote></div><br></div>