[Spice-devel] [PATCH libcacard 3/3] Add travis.yml

Christophe Fergeau cfergeau at redhat.com
Tue Nov 24 05:23:39 PST 2015


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 at gmail.com>
> ---
>  .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 at redhat.com>
>  - Robert Relyea <rrelyea at redhat.com>
> +
> +[travis]: https://travis-ci.org/SPICE/libcacard.svg?branch=master
> -- 
> 2.5.0
> 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20151124/00a91763/attachment-0001.sig>


More information about the Spice-devel mailing list