32 lines
1.4 KiB
YAML
32 lines
1.4 KiB
YAML
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
|
|
- export DIR=$(pwd)/gobject-introspection-1.31.22
|
|
- cd $DIR && ./configure --prefix=/usr && make
|
|
- sudo bash -c "cd $DIR && 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
|
|
- export DIR=$(pwd)/pygobject-3.10.2
|
|
- cd $DIR && ./configure --prefix=/usr && make
|
|
- sudo bash -c "cd $DIR && make install"
|
|
before_script:
|
|
- ./bootstrap.sh
|
|
- ./configure
|
|
- make
|
|
- sudo make install
|
|
- sudo ldconfig
|
|
- 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
|