[lxc-devel] [PATCH] add travis-ci support to LXC github repo

Ranjib Dey dey.ranjib at gmail.com
Mon Dec 23 07:05:30 UTC 2013


+1 . too bad travis run on openvz :-( . else we could have run the tests .


On Sun, Dec 22, 2013 at 11:58 PM, S.Çağlar Onur <caglar at 10ur.org> wrote:

> Travis is a free hosted CI platform for the open source community. It
> integrates
> well with github and enables continous builds/tests for both repository
> itself
> and all the pull requests so that one can quickly see the result of the
> possible
> merge.
>
> This yml file is one of the few required steps to enable travis-ci support
> for
> LXC github repo. One of you guys still need to sign in travis-ci through
> GitHub OAuth
> and enable travis support from its profile page
> https://travis-ci.org/profile
>
> As an example
> https://travis-ci.org/caglar10ur/lxc-upstream/builds/15872074 can be seen
>
> Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>
> ---
>  .travis.yml | 9 +++++++++
>  1 file changed, 9 insertions(+)
>  create mode 100644 .travis.yml
>
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..e7e3776
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,9 @@
> +language: c
> +compiler:
> +  - gcc
> +# failing with python
> +#  - clang
> +before_install:
> + - sudo apt-get update -qq
> + - sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev
> python3-dev
> +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
> --
> 1.8.3.2
>
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131223/08fd5507/attachment.html>


More information about the lxc-devel mailing list