libvips/.travis.yml

67 lines
1.9 KiB
YAML
Raw Normal View History

2014-05-19 13:54:04 +02:00
language: cpp
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
- 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
--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
script:
- make -Ctest -j$JOBS -s V=0 VERBOSE=1 check
- LD_LIBRARY_PATH=$PWD/libvips/.libs
DYLD_LIBRARY_PATH=$PWD/libvips/.libs
$PYTHON -m pytest -v pyvips-master
matrix:
2018-06-14 17:15:43 +02:00
allow_failures:
- os: osx
fast_finish: true
include:
- os: linux
sudo: required
dist: trusty
env:
- PYTHON=python2
- PYVIPS_VERSION=master
- JPEG=/usr
- JOBS=`nproc`
cache: ccache
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y
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
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
- os: osx
osx_image: xcode9.3
env:
- PYTHON=python2
- PYVIPS_VERSION=master
- JPEG=/usr/local
- JOBS="`sysctl -n hw.ncpu`"
- PATH="/usr/local/opt/ccache/libexec:$PATH"
- HOMEBREW_NO_AUTO_UPDATE=1
cache: ccache
before_install:
- brew install ccache
- brew install
gtk-doc gobject-introspection
2018-04-11 20:36:18 +02:00
fftw libexif
webp
swig imagemagick
cfitsio gsl libmatio
orc little-cms2 poppler
librsvg openexr
pango libgsf openslide