<div dir="ltr">we'll have several other advantages with travis. the build status can be reflected on the project page easily, downstream clients (language specific bindings or other lxc dependent libraries) can reuse the build status to trigger their own builds , which we'll allow then to catch any breakage early on. <div>
<br></div><div>but the whole model is very tied to github and pull request based development, so unless lxc is aopting that, travis usage might not yield a lot of value,</div><div><br></div><div><br></div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, Dec 23, 2013 at 2:03 PM, S.Çağlar Onur <span dir="ltr"><<a href="mailto:caglar@10ur.org" target="_blank">caglar@10ur.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Serge,<br>
<div class="im"><br>
On Mon, Dec 23, 2013 at 10:42 AM, Serge Hallyn <<a href="mailto:serge.hallyn@ubuntu.com">serge.hallyn@ubuntu.com</a>> wrote:<br>
> Is this something you've discussed with Stéphane?  A set of tests is<br>
> already being run on his own server, so I'm not sure this is needed.<br>
> There is the "the more testing the better" point of view, but I've seen<br>
> more time wasted trying to debug test "breakages" that were actually<br>
> host system errors (at least on one of the test harnasses we were using<br>
> for lxc) than real errors found, so I'm a bit hesitant.<br>
<br>
</div>No, I haven't discussed this with Stéphane. IMHO this only ensures<br>
that master builds fine after a commit. We don't run test cases as<br>
travis-ci vms not capable of creating LXC containers for now. One<br>
advantage of travis over others is its integration with github. When<br>
someone sends a pull request, travis builds that changeset on top of<br>
master so that one can see whether merging the pull request is OK or<br>
not.<br>
<br>
But if you think that's unnecessary, or think that this duplicates<br>
what <a href="http://qa.linuxcontainers.org" target="_blank">qa.linuxcontainers.org</a> does then please feel free to drop this :)<br>
<div class="HOEnZb"><div class="h5"><br>
> I'd be more interested in new tests for specific use cases - like a<br>
> unprivileged container create/start - which aren't currently being<br>
> tested, or cleanups to the existing tests cases to make them more<br>
> robust and useful.<br>
><br>
> thanks,<br>
> -serge<br>
><br>
> Quoting Ranjib Dey (<a href="mailto:dey.ranjib@gmail.com">dey.ranjib@gmail.com</a>):<br>
>> +1 . too bad travis run on openvz :-( . else we could have run the tests .<br>
>><br>
>><br>
>> On Sun, Dec 22, 2013 at 11:58 PM, S.Çağlar Onur <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>> wrote:<br>
>><br>
>> > Travis is a free hosted CI platform for the open source community. It<br>
>> > integrates<br>
>> > well with github and enables continous builds/tests for both repository<br>
>> > itself<br>
>> > and all the pull requests so that one can quickly see the result of the<br>
>> > possible<br>
>> > merge.<br>
>> ><br>
>> > This yml file is one of the few required steps to enable travis-ci support<br>
>> > for<br>
>> > LXC github repo. One of you guys still need to sign in travis-ci through<br>
>> > GitHub OAuth<br>
>> > and enable travis support from its profile page<br>
>> > <a href="https://travis-ci.org/profile" target="_blank">https://travis-ci.org/profile</a><br>
>> ><br>
>> > As an example<br>
>> > <a href="https://travis-ci.org/caglar10ur/lxc-upstream/builds/15872074" target="_blank">https://travis-ci.org/caglar10ur/lxc-upstream/builds/15872074</a> can be seen<br>
>> ><br>
>> > Signed-off-by: S.Çağlar Onur <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>><br>
>> > ---<br>
>> >  .travis.yml | 9 +++++++++<br>
>> >  1 file changed, 9 insertions(+)<br>
>> >  create mode 100644 .travis.yml<br>
>> ><br>
>> > diff --git a/.travis.yml b/.travis.yml<br>
>> > new file mode 100644<br>
>> > index 0000000..e7e3776<br>
>> > --- /dev/null<br>
>> > +++ b/.travis.yml<br>
>> > @@ -0,0 +1,9 @@<br>
>> > +language: c<br>
>> > +compiler:<br>
>> > +  - gcc<br>
>> > +# failing with python<br>
>> > +#  - clang<br>
>> > +before_install:<br>
>> > + - sudo apt-get update -qq<br>
>> > + - sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev<br>
>> > python3-dev<br>
>> > +script: ./autogen.sh && CFLAGS="-g -O2 -fstack-protector<br>
>> > --param=ssp-buffer-size=4 -Wformat -Werror=format-security"<br>
>> > CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fstack-protector<br>
>> > --param=ssp-buffer-size=4 -Wformat -Werror=format-security" FFLAGS="-g -O2"<br>
>> > LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" ./configure --prefix=/usr<br>
>> > --sysconfdir=/etc --bindir=/usr/bin --libdir=/usr/lib/x86_64-linux-gnu/<br>
>> > --localstatedir=/var --includedir=/usr/include --disable-rpath<br>
>> > --enable-python --enable-tests --enable-apparmor --with-distro=ubuntu &&<br>
>> > make -j4<br>
>> > --<br>
>> > 1.8.3.2<br>
>> ><br>
>> > _______________________________________________<br>
>> > lxc-devel mailing list<br>
>> > <a href="mailto:lxc-devel@lists.linuxcontainers.org">lxc-devel@lists.linuxcontainers.org</a><br>
>> > <a href="http://lists.linuxcontainers.org/listinfo/lxc-devel" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-devel</a><br>
>> ><br>
><br>
>> _______________________________________________<br>
>> lxc-devel mailing list<br>
>> <a href="mailto:lxc-devel@lists.linuxcontainers.org">lxc-devel@lists.linuxcontainers.org</a><br>
>> <a href="http://lists.linuxcontainers.org/listinfo/lxc-devel" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-devel</a><br>
><br>
> _______________________________________________<br>
> lxc-devel mailing list<br>
> <a href="mailto:lxc-devel@lists.linuxcontainers.org">lxc-devel@lists.linuxcontainers.org</a><br>
> <a href="http://lists.linuxcontainers.org/listinfo/lxc-devel" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-devel</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
S.Çağlar Onur <<a href="mailto:caglar@10ur.org">caglar@10ur.org</a>><br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
lxc-devel mailing list<br>
<a href="mailto:lxc-devel@lists.linuxcontainers.org">lxc-devel@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-devel" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-devel</a><br>
</div></div></blockquote></div><br></div>