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

Stéphane Graber stgraber at ubuntu.com
Wed Dec 25 16:05:59 UTC 2013


On Tue, Dec 24, 2013 at 02:04:10PM -0500, S.Çağlar Onur 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
> 
> changes since v1;
>  - All external dependencies are now innstalled via before_install section
>  - Dropped all configure flags as Stéphane suggested
> 
> Signed-off-by: S.Çağlar Onur <caglar at 10ur.org>

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  .travis.yml | 8 ++++++++
>  1 file changed, 8 insertions(+)
>  create mode 100644 .travis.yml
> 
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..f66637f
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,8 @@
> +language: c
> +compiler:
> + - gcc
> + - clang
> +before_install:
> + - sudo apt-get update -qq
> + - sudo apt-get install -qq libapparmor-dev libcap-dev libseccomp-dev python3-dev docbook2x libgnutls-dev liblua5.2-dev libselinux1-dev
> +script: ./autogen.sh && ./configure && make -j4
> -- 
> 1.8.3.2
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20131225/82958a59/attachment.pgp>


More information about the lxc-devel mailing list