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

2013-08-15 Thread Holger Hans Peter Freyther
On Wed, Aug 14, 2013 at 02:48:07PM -0700, David Strauss wrote:

 The CI I maintain [1] for systemd is certainly one alternative that
 continues to be in production. I'd like to get more test automation
 going, but it's not like TravisCI was running any tests beyond a
 successful build. I plan to continue maintaining the Jenkins CI, if

Please take a look at the .travis.yml file. It executes make check
and make distcheck. Maybe on your jenkins setup you try these two
commands as well and check how far you get?

holger
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-08-15 Thread Holger Hans Peter Freyther
On Wed, Aug 14, 2013 at 11:15:35PM +0200, Kay Sievers wrote:

 I temporarily switched it off now.

thanks for the heads up. 

 Maybe someone has an idea, or an alternative.

If David starts to execute make check  make distcheck there
is probably nothing travis-ci provides that David's setup doesn't.
As an alternative I can play catch-up and provide/build additional
deps.

holger
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-08-14 Thread Kay Sievers
On Thu, Jul 18, 2013 at 7:40 AM, Holger Hans Peter Freyther
hol...@freyther.de wrote:
 On Wed, Jul 17, 2013 at 05:08:46PM +0200, Kay Sievers wrote:

 I did something like that now. Let's see if it works ...

 Thank you, it did[1].

 [1] https://travis-ci.org/systemd/systemd

I temporarily switched it off now.

The system it builds on seems to old to have kernel btrfs headers. No
idea if that is something that cane be fixed on the travis side, but
importing more common things into systemd seems a bit odd, just to
make it work on an outdated build system.

Maybe someone has an idea, or an alternative.

Thanks,
Kay
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-08-14 Thread David Strauss
On Wed, Aug 14, 2013 at 2:15 PM, Kay Sievers k...@vrfy.org wrote:
 Maybe someone has an idea, or an alternative.

The CI I maintain [1] for systemd is certainly one alternative that
continues to be in production. I'd like to get more test automation
going, but it's not like TravisCI was running any tests beyond a
successful build. I plan to continue maintaining the Jenkins CI, if
only to ensure the systemd GitHub mirror is always buildable on the
master branch.

[1] http://systemd.getpantheon.com/

-- 
David Strauss
   | da...@davidstrauss.net
   | +1 512 577 5827 [mobile]
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-07-17 Thread Holger Hans Peter Freyther
On Fri, Jul 12, 2013 at 07:51:26PM +0200, Lennart Poettering wrote:

 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.

I could only check this today. The ubuntu/travis build is currently not
using kmod at all so it could be useful right-away. What is missing is
that any member of the systemd group on github visits the travis-ci.org
website, clicks on 'Sign in with GitHub', go to the account section and
enables travis-ci for the systemd repository. It should be  1 minute of
work.

cheers
holger

___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-07-17 Thread Holger Hans Peter Freyther
On Wed, Jul 17, 2013 at 05:08:46PM +0200, Kay Sievers wrote:
 
 I did something like that now. Let's see if it works ...

Thank you, it did[1].

[1] https://travis-ci.org/systemd/systemd
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-07-17 Thread Holger Hans Peter Freyther
On Wed, Jul 17, 2013 at 04:02:26PM -0300, Lucas De Marchi wrote:

 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

You could ask the people that operate hydra.nixos.org to build
kmod for you. This will at least give you ia32 and x86-64 builds
and a coverage report for the x86-64. I am not sure if they have
irc notifications and how open they are to non GNU projects.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-07-12 Thread Lennart Poettering
On Tue, 09.07.13 18:09, Holger Hans Peter Freyther (hol...@freyther.de) wrote:

 From: Holger Hans Peter Freyther hol...@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.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


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

2013-07-12 Thread Holger Hans Peter Freyther
On Fri, Jul 12, 2013 at 07:51:26PM +0200, Lennart Poettering wrote:
 On Tue, 09.07.13 18:09, Holger Hans Peter Freyther (hol...@freyther.de) wrote:
 I figure a simple 
 
 if (sd_booted() = 0)
 return EXIT_TEST_SKIP;

Ah great, I had planned to search if something like sd_booted() exists,
skipping the tests will be trivial now.

thanks
holger
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel