2014-05-19 13:54:04 +02:00
|
|
|
language: cpp
|
2016-06-03 00:50:53 +02:00
|
|
|
|
2014-05-19 13:54:04 +02:00
|
|
|
before_script:
|
2018-09-21 18:05:47 +02:00
|
|
|
- $PYTHON -m pip download --no-deps https://github.com/libvips/pyvips/archive/$PYVIPS_VERSION.tar.gz
|
2018-06-13 23:36:07 +02:00
|
|
|
- tar xf $PYVIPS_VERSION.tar.gz
|
|
|
|
- $PYTHON -m pip install --user --upgrade pyvips-$PYVIPS_VERSION/[test]
|
2016-08-05 15:58:27 +02:00
|
|
|
- ./autogen.sh
|
2016-06-03 00:50:53 +02:00
|
|
|
--disable-dependency-tracking
|
|
|
|
--with-jpeg-includes=$JPEG/include
|
|
|
|
--with-jpeg-libraries=$JPEG/lib
|
2017-03-01 18:37:55 +01:00
|
|
|
- make -j$JOBS -s
|
2016-05-08 21:51:07 +02:00
|
|
|
script:
|
2016-06-03 00:50:53 +02:00
|
|
|
- make -Ctest -j$JOBS -s V=0 VERBOSE=1 check
|
2018-06-13 23:36:07 +02:00
|
|
|
- LD_LIBRARY_PATH=$PWD/libvips/.libs
|
|
|
|
DYLD_LIBRARY_PATH=$PWD/libvips/.libs
|
2018-06-14 17:40:27 +02:00
|
|
|
$PYTHON -m pytest -v pyvips-master
|
2016-06-03 00:50:53 +02:00
|
|
|
|
|
|
|
matrix:
|
2018-06-14 17:15:43 +02:00
|
|
|
allow_failures:
|
|
|
|
- os: osx
|
2016-06-03 00:50:53 +02:00
|
|
|
fast_finish: true
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
sudo: required
|
|
|
|
dist: trusty
|
|
|
|
env:
|
2018-06-13 23:36:07 +02:00
|
|
|
- PYTHON=python2
|
|
|
|
- PYVIPS_VERSION=master
|
2016-06-03 00:50:53 +02:00
|
|
|
- JPEG=/usr
|
|
|
|
- JOBS=`nproc`
|
|
|
|
cache: ccache
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
|
|
|
- sudo apt-get install -y
|
2018-06-13 23:36:07 +02:00
|
|
|
automake gtk-doc-tools gobject-introspection
|
|
|
|
libfftw3-dev libexif-dev libjpeg-turbo8-dev
|
2017-03-01 11:07:36 +01:00
|
|
|
libpng12-dev libwebp-dev libtiff4-dev libexpat1-dev
|
2016-06-03 00:50:53 +02:00
|
|
|
swig libmagick++-dev bc
|
|
|
|
libcfitsio3-dev libgsl0-dev libmatio-dev
|
|
|
|
liborc-0.4-dev liblcms2-dev libpoppler-glib-dev
|
2018-06-13 23:36:07 +02:00
|
|
|
librsvg2-dev libgif-dev libopenexr-dev
|
2016-06-03 00:50:53 +02:00
|
|
|
libpango1.0-dev libgsf-1-dev libopenslide-dev
|
2018-06-13 23:36:07 +02:00
|
|
|
libffi-dev
|
2016-06-03 00:50:53 +02:00
|
|
|
|
|
|
|
- os: osx
|
2018-06-13 23:36:07 +02:00
|
|
|
osx_image: xcode9.3
|
2016-06-03 00:50:53 +02:00
|
|
|
env:
|
2018-06-13 23:36:07 +02:00
|
|
|
- PYTHON=python2
|
|
|
|
- PYVIPS_VERSION=master
|
|
|
|
- JPEG=/usr/local
|
2016-06-03 00:50:53 +02:00
|
|
|
- JOBS="`sysctl -n hw.ncpu`"
|
|
|
|
- PATH="/usr/local/opt/ccache/libexec:$PATH"
|
2018-06-13 23:36:07 +02:00
|
|
|
- HOMEBREW_NO_AUTO_UPDATE=1
|
2016-06-03 00:50:53 +02:00
|
|
|
cache: ccache
|
|
|
|
before_install:
|
2017-09-17 15:44:59 +02:00
|
|
|
- brew install ccache
|
2017-01-19 16:31:33 +01:00
|
|
|
- brew install
|
2018-06-13 23:36:07 +02:00
|
|
|
gtk-doc gobject-introspection
|
2018-04-11 20:36:18 +02:00
|
|
|
fftw libexif
|
2018-06-13 23:36:07 +02:00
|
|
|
webp
|
2016-06-03 00:50:53 +02:00
|
|
|
swig imagemagick
|
2018-06-13 23:36:07 +02:00
|
|
|
cfitsio gsl libmatio
|
2016-06-03 00:50:53 +02:00
|
|
|
orc little-cms2 poppler
|
2017-09-17 15:44:59 +02:00
|
|
|
librsvg openexr
|
2018-06-13 23:36:07 +02:00
|
|
|
pango libgsf openslide
|
2017-09-17 18:23:25 +02:00
|
|
|
|