<div dir="ltr">+1 . too bad travis run on openvz :-( . else we could have run the tests .</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Dec 22, 2013 at 11:58 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">Travis is a free hosted CI platform for the open source community. It integrates<br>
well with github and enables continous builds/tests for both repository itself<br>
and all the pull requests so that one can quickly see the result of the possible<br>
merge.<br>
<br>
This yml file is one of the few required steps to enable travis-ci support for<br>
LXC github repo. One of you guys still need to sign in travis-ci through GitHub OAuth<br>
and enable travis support from its profile page <a href="https://travis-ci.org/profile" target="_blank">https://travis-ci.org/profile</a><br>
<br>
As an example <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 python3-dev<br>
+script: ./autogen.sh && CFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" CPPFLAGS="-D_FORTIFY_SOURCE=2" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security" FFLAGS="-g -O2" LDFLAGS="-Wl,-Bsymbolic-functions -Wl,-z,relro" ./configure --prefix=/usr --sysconfdir=/etc --bindir=/usr/bin --libdir=/usr/lib/x86_64-linux-gnu/ --localstatedir=/var --includedir=/usr/include --disable-rpath --enable-python --enable-tests --enable-apparmor --with-distro=ubuntu && make -j4<br>

<span class="HOEnZb"><font color="#888888">--<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>
</font></span></blockquote></div><br></div>