[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Continuous Integration
From: |
Eloi Rivard |
Subject: |
Re: [Denemo-devel] Continuous Integration |
Date: |
Fri, 18 Oct 2013 12:17:59 +0200 |
Le vendredi 18 octobre 2013 à 09:24 +0100, Richard Shann a écrit :
> > I played a bit with Travis-ci and denemo:
> > https://travis-ci.org/azmeuk/denemo . It is synchronized with my
> > github account: https://github.com/azmeuk/denemo
> >
> > For the moment the only test done is compilation,
>
> Well, I see it links too, looking down the log (it seemed to be
> compiling with gcc on a Ubuntu system).
Yes, you can find their distribution images on the website.
> Does it/can it install and run
> on the system too?
Yes if it can run without a GUI I suppose :)
> One problem is that Denemo does not have proper
> separation to enable it to run without its GUI (the draw.c in particular
> has side effects on the data, this is the reason for the drawing done
> with cairo context set to NULL). So running without an actual display
> could be problematic.
I would be happy to look at this.
> > but it is very flexible and it is possible to run some unit tests.
> > Unfortunately, there is no test suite in denemo :). However, a good
> > non-regression test could be to launch the program, check that
> > commands are correctly launched for instance, and close it just after.
>
> It is very easy to write tests nowadays, you can just pass a scheme
> script on the command line...
Maybe it worth write a good scheme testsuite.
> > It works great with gcc and clang, and fails with mingw as I did not
> > prepared a good script to run. Jeremiah, if you want to help me there,
> > you are welcome :) Your gub fork fail to download ImageMagick.
>
> I didn't delve into what you have done Eloi ... are you using gub?
Yes, Jeremiah's fork.
> > Which service do you prefer etc. Should I commit my Travis scripts to
> > master if someone is interested ?
>
> are they on a branch at the moment?
Yes, the "travis" branch.