Re: [RFC] keeping unit tests green
| From: | Julien Pauli | Date: | Tue, 15 Apr 2014 16:36:50 +0000 |
| Subject: | Re: [RFC] keeping unit tests green | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-73703@lists.php.net to get a copy of this message | ||
On Tue, Apr 15, 2014 at 6:34 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
> Hi!
>
>> So I'm OK, as soon as it is simple.
>> For example, I dont know Travis. So when opening the Travis page about
>> PHP, I see many things, red or green, and feel like lost in all those
>> informations.
>
> Travis is pretty simple as such - you go to
> https://travis-ci.org/php/php-src/builds and check out your
> branch
> (branch name is in Commit column). If it's not green, you click on the
> build number and get the log which says what went wrong. The failed
> tests are usually at the very end, and once you know the names of the
> tests failed, look them up in the log to find the details.
>
> With pulls on github, you just click on "Details" link and it gets you
> to the same log page.
>
> Setting up a fork requires some configs, but Travis docs are good
> enough. I might also add a wiki page on how to set up the fork in Travis
> a bit later.
Yes I spent some time to see how it works, it seems pretty easy.
In fact, if we could add more analyze tools, it would be nice, because
actually, it just acts as an autommated "make test".
Julien