Re: [PATCH libcacard 3/3] Add travis.yml

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Personally, I'd prefer if the CI integration files were not stored in
the main repository, I don't know what is typically done in this area
though.
It's a single hidden file, so no strong opposition either.
I'd add emails to some mailing list when the build fails, apart from
this, this looks good to me. (I assume builds work properly with this
file and your proposed changes).

Christophe

On Tue, Nov 24, 2015 at 02:03:23PM +0100, Marc-André Lureau wrote:
> Signed-off-by: Marc-André Lureau <marcandre.lureau@xxxxxxxxx>
> ---
>  .travis.yml | 23 +++++++++++++++++++++++
>  README.md   |  4 +++-
>  2 files changed, 26 insertions(+), 1 deletion(-)
>  create mode 100644 .travis.yml
> 
> diff --git a/.travis.yml b/.travis.yml
> new file mode 100644
> index 0000000..8521718
> --- /dev/null
> +++ b/.travis.yml
> @@ -0,0 +1,23 @@
> +notifications:
> +  irc:
> +    channels:
> +      - "irc.gimp.net#spice"
> +    on_success: change
> +    on_failure: always
> +sudo: required
> +dist: trusty
> +language: c
> +compiler:
> +  - clang
> +  - gcc
> +addons:
> +  apt:
> +    packages:
> +      - automake
> +      - autoconf
> +      - autoconf-archive
> +      - pkg-config
> +      - libglib2.0-dev
> +      - libnss3-dev
> +script:
> +  - ./autogen.sh --prefix=/usr && make all && make distcheck
> diff --git a/README.md b/README.md
> index c2e15f4..3f4b9bf 100644
> --- a/README.md
> +++ b/README.md
> @@ -1,4 +1,4 @@
> -# libcacard
> +# libcacard ![alt text][travis]
>  
>  CAC (Common Access Card) library
>  
> @@ -19,3 +19,5 @@ This project was originally developped by:
>  
>  - Alon Levy <alevy@xxxxxxxxxx>
>  - Robert Relyea <rrelyea@xxxxxxxxxx>
> +
> +[travis]: https://travis-ci.org/SPICE/libcacard.svg?branch=master
> -- 
> 2.5.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]