Help with Travis

Ralf Gommers ralf.gommers at gmail.com
Tue Jan 21 01:06:39 EST 2014


On Tue, Jan 21, 2014 at 2:00 AM, Juan Nunez-Iglesias <jni.soma at gmail.com>wrote:

> Hi guys,
>
> A bit off-topic but I hope someone will be able to help trivially...
>
> I'm trying to run Travis on my own gala repository (you might remember
> gala from my scipy2012 talk, when it was called ray). It appeared to be
> working fine, but actually it's giving me a little green dot when in fact a
> bunch of tests are failing!
>
> https://travis-ci.org/jni/gala/builds/16860892
>

Last line: "Done. Your build exited with 0."

>
> Here's the corresponding .travis.yml file:
>
> https://github.com/jni/gala/blob/tree-agglo/.travis.yml
>
> What am I doing wrong? How can I make it so the test failures result in
> build failures?
>

You need your test script to have a nonzero exit status. You also need to
run all your tests from a single script for that to work properly. You
could copy and adapt
https://github.com/scipy/scipy/blob/master/runtests.pyfor your
project.

Cheers,
Ralf



> Thanks,
>
> Juan.
>
>  --
> You received this message because you are subscribed to the Google Groups
> "scikit-image" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scikit-image+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-image/attachments/20140121/bf2f4dcc/attachment.html>


More information about the scikit-image mailing list