From 4b099536fbc9e94af5232da8d1489098add9eced Mon Sep 17 00:00:00 2001 From: Yoan Blanc Date: Fri, 11 Nov 2016 08:41:06 +0100 Subject: [PATCH] Build against various libvips versions --- .travis.yml | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 38a6f2a..649b7da 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,19 @@ go: - 1.7 - tip +env: + - LIBVIPS=7.42 + - LIBVIPS=8.2 + - LIBVIPS=8.3 + - LIBVIPS=8.4 + - LIBVIPS=master + +matrix: + allow_failures: + - env: LIBVIPS=7.42 + - env: LIBVIPS=8.2 + - env: LIBVIPS=8.3 + cache: apt addons: @@ -29,10 +42,10 @@ addons: # VIPS 8.3.3 requires Poppler 0.30 which is not released on Trusty. before_install: - - wget https://github.com/jcupitt/libvips/archive/master.zip - - unzip master - - cd libvips-master - - ./autogen.sh + - wget https://github.com/jcupitt/libvips/archive/$LIBVIPS.zip + - unzip $LIBVIPS + - cd libvips-$LIBVIPS + - test -f autogen.sh && ./autogen.sh || ./bootstrap.sh - > CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 ./configure