[systemd-devel] [PATCH] travis: Add a travis.yml for doing CI after commits

Lucas De Marchi lucas.de.marchi at gmail.com
Wed Jul 17 12:02:26 PDT 2013


On Fri, Jul 12, 2013 at 2:51 PM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Tue, 09.07.13 18:09, Holger Hans Peter Freyther (holger at freyther.de) wrote:
>
>> From: Holger Hans Peter Freyther <holger at moiji-mobile.com>
>>
>> Instruct travis-ci to build systemd and create a tarball. In case
>> of an error travis-ci will complain on IRC. The systemd testsuite
>> currently requires the host to have a recent version of systemd
>> installed and running. This is not the case for the Ubuntu VM of
>> travis-ci. This means make check and make distcheck will result in
>> a build failure and to avoid this these commands are not executed.
>>
>> This requires a one time configuration on travis-ci for the repo
>> on github by the owner of the repo.
>
> Commited. I figure this will not be useful right-away, since current git
> of systemd requires a very new version of kmod that is not available at
> Travis. However, it's still a good thing to have and to enable as soon
> as that issue is solved.
>
> BTW, I am totally happy if our tests get fixed (or even skipped) to not
> require a systemd running. It's simply that on our own machines we never
> have these issues, and that's where we run "make check" most of the
> time.
>
> I figure a simple
>
>         if (sd_booted() <= 0)
>                 return EXIT_TEST_SKIP;
>
> at the top of the tests in question would already be a big step
> forward. And then we could work on enabling more tests as things go.
>

Talking about kmod and travis-ci. In kmod we are using it. Pretty
cool, with an IRC bot integration. I only wish there were more options
of distributions.  Right now it's only Ubuntu 12.04 32 bits

Lucas De Marchi


More information about the systemd-devel mailing list