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

Marc-André Lureau marcandre.lureau at gmail.com
Tue Nov 24 05:03:23 PST 2015


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



More information about the Spice-devel mailing list