[Spice-devel] [PATCH spice 3/3] Add travis CI file
Marc-André Lureau
mlureau at redhat.com
Fri Nov 27 08:51:05 PST 2015
Hi
----- Original Message -----
> On Wed, Nov 25, 2015 at 04:05:07PM +0100, Marc-André Lureau wrote:
> > 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 -
>
> You could install libcacard-dev instead of rebuilding it manually.
It's not in travis whitelist
>
> > + - 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 -
>
> I don't think celt is still required.
I think it was, but better to compile with all deps (some are perhpas still missing)
>
> Looks good otherwise.
I take that for an ack then.
>
> Christophe
>
> > + - 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
> >
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
More information about the Spice-devel
mailing list