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
|
2019-01-02 11:28:41 +01:00
|
|
|
$PYTHON -m pytest -v test/test-suite
|
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
|
2018-12-17 14:25:13 +01:00
|
|
|
dist: xenial
|
2016-06-03 00:50:53 +02:00
|
|
|
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
|
|
|
|
|
|
|
|
- os: osx
|
2018-12-17 15:07:14 +01:00
|
|
|
osx_image: xcode10.1
|
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
|
2017-09-17 18:23:25 +02:00
|
|
|
|
2019-01-02 11:42:17 +01:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
2019-01-07 19:10:21 +01:00
|
|
|
sources:
|
2019-01-25 17:20:39 +01:00
|
|
|
# use imagemagick 6.9.7-4 instead than 6.8.9-9
|
2019-01-07 19:10:21 +01:00
|
|
|
- sourceline: 'ppa:opencpu/imagemagick'
|
2019-02-17 20:51:01 +01:00
|
|
|
# add support for HEIF files
|
|
|
|
- sourceline: 'ppa:strukturag/libheif'
|
|
|
|
- sourceline: 'ppa:strukturag/libde265'
|
2019-01-02 11:42:17 +01:00
|
|
|
packages:
|
|
|
|
- automake
|
|
|
|
- gtk-doc-tools
|
|
|
|
- gobject-introspection
|
|
|
|
- libfftw3-dev
|
|
|
|
- libexif-dev
|
|
|
|
- libjpeg-turbo8-dev
|
|
|
|
- libpng12-dev
|
|
|
|
- libwebp-dev
|
|
|
|
# missing on xenial, unfortunately
|
|
|
|
# - libwebpmux2
|
|
|
|
- libtiff5-dev
|
2019-02-17 20:51:01 +01:00
|
|
|
- libheif-dev
|
2019-01-02 11:42:17 +01:00
|
|
|
- libexpat1-dev
|
|
|
|
- swig
|
|
|
|
- libmagick++-dev
|
|
|
|
- bc
|
|
|
|
- libcfitsio3-dev
|
|
|
|
- libgsl0-dev
|
|
|
|
- libmatio-dev
|
|
|
|
- liborc-0.4-dev
|
|
|
|
- liblcms2-dev
|
|
|
|
- libpoppler-glib-dev
|
|
|
|
- librsvg2-dev
|
|
|
|
- libgif-dev
|
|
|
|
- libopenexr-dev
|
|
|
|
- libpango1.0-dev
|
|
|
|
- libgsf-1-dev
|
|
|
|
- libopenslide-dev
|
|
|
|
- libffi-dev
|
|
|
|
homebrew:
|
|
|
|
packages:
|
|
|
|
- ccache
|
|
|
|
- gtk-doc
|
|
|
|
- gobject-introspection
|
|
|
|
- fftw
|
|
|
|
- libexif
|
|
|
|
- webp
|
|
|
|
- swig
|
|
|
|
- imagemagick
|
|
|
|
- cfitsio
|
|
|
|
- gsl
|
|
|
|
- libmatio
|
|
|
|
- orc
|
|
|
|
- little-cms2
|
|
|
|
- poppler
|
|
|
|
- librsvg
|
|
|
|
- openexr
|
|
|
|
- pango
|
|
|
|
- libgsf
|
|
|
|
- openslide
|