[Spice-devel] [PATCH spice 3/3] Add travis CI file

Marc-André Lureau marcandre.lureau at gmail.com
Wed Nov 25 07:05:07 PST 2015


Signed-off-by: Marc-André Lureau <marcandre.lureau at gmail.com>
---
 .travis.yml | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 .travis.yml

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ca72072
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,31 @@
+notifications:
+  email:
+    - spice-devel at lists.freedesktop.org
+  irc:
+    channels:
+      - "irc.gimp.net#spice"
+    on_success: change
+    on_failure: always
+sudo: required
+dist: trusty
+language: c
+compiler:
+  - clang
+  - gcc
+before_install:
+  - sudo apt-get update -qq
+  - sudo apt-get install -y automake autoconf pkg-config libglib2.0-dev libspice-protocol-dev libopus-dev libpixman-1-dev libasound2-dev libssl-dev libsasl2-dev libjpeg-dev libglib2.0-dev libnss3-dev asciidoc spice-client-gtk
+install:
+  - pip install --user six pyparsing
+  - which python && python -c 'import six'
+  - wget http://www.spice-space.org/download/libcacard/libcacard-LATEST.tar.xz
+  - tar xf libcacard-2.5.0.tar.xz
+  - cd libcacard-2.5.0 && ./configure --prefix=/usr && make && sudo make install && cd -
+  - wget http://downloads.us.xiph.org/releases/celt/celt-0.5.1.3.tar.gz
+  - tar xf celt-0.5.1.3.tar.gz
+  - cd celt-0.5.1.3 && ./configure --prefix=/usr && make && sudo make install && cd -
+  - wget http://www.spice-space.org/download/releases/spice-protocol-0.12.10.tar.bz2
+  - tar xf spice-protocol-0.12.10.tar.bz2
+  - cd spice-protocol-0.12.10 && ./configure --prefix=/usr && make && sudo make install && cd -
+script:
+  - ./autogen.sh --prefix=/usr && make all && make distcheck
-- 
2.5.0



More information about the Spice-devel mailing list