libvips/.travis.yml

30 lines
1.3 KiB
YAML
Raw Normal View History

2014-05-19 13:54:04 +02:00
language: cpp
before_install:
- sudo add-apt-repository ppa:lyrasis/precise-backports -y
- sudo apt-get update -qq
- sudo apt-get install automake gtk-doc-tools
- sudo apt-get install libfftw3-dev libglib2.0-dev libjpeg-turbo8-dev
- sudo apt-get install libpng12-dev libwebp-dev libtiff4-dev libxml2-dev
- sudo apt-get install swig libmagick++-dev bc libgsf-1-dev
- sudo apt-get install libcfitsio3-dev libgsl0-dev libmatio-dev
- sudo apt-get install liborc-0.4-dev liblcms2-dev libopenslide-dev
- sudo apt-get install python-dev python3-dev
- wget http://ftp.gnome.org/pub/GNOME/sources/gobject-introspection/1.31/gobject-introspection-1.31.22.tar.xz
- tar -xf gobject-introspection-1.31.22.tar.xz
2015-04-14 13:05:55 +02:00
- cd gobject-introspection-1.31.22 && ./configure --prefix=/usr && make
2015-04-14 13:40:18 +02:00
- sudo bash -c 'cd gobject-introspection-1.31.22 && make install'
- wget http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.10/pygobject-3.10.2.tar.xz
- tar -xf pygobject-3.10.2.tar.xz
2015-04-14 13:05:55 +02:00
- cd pygobject-3.10.2 && ./configure --prefix=/usr && make
2015-04-14 13:40:18 +02:00
- sudo bash -c 'cd pygobject-3.10.2 && make install'
2014-05-19 13:54:04 +02:00
before_script:
- ./bootstrap.sh
2015-04-13 22:55:37 +02:00
- ./configure
2014-05-19 13:54:04 +02:00
- make
- sudo make install
- sudo ldconfig
2015-04-13 19:30:27 +02:00
- sudo cp python/Vips.py /usr/lib/python2.7/dist-packages/gi/overrides
- sudo cp python/Vips.py /usr/lib/python3/dist-packages/gi/overrides
script:
- make check