From 4b82701b369344ecb83e7baa82d97e45d225b2d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Sat, 21 Nov 2015 01:55:16 +0100 Subject: [PATCH] Add travis CI file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marc-André Lureau --- .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 00000000..f97288fc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +notifications: + email: + - spice-devel@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-LATEST.tar.xz + - cd libcacard-* && ./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