.travis.yml in ruby-vips-1.0.4 vs .travis.yml in ruby-vips-1.0.5

- old
+ new

@@ -1,12 +1,19 @@ +sudo: false + env: global: - NOKOGIRI_USE_SYSTEM_LIBRARIES=true + - VIPS_VERSION_MAJOR=8 + - VIPS_VERSION_MINOR=5 + - VIPS_VERSION_MICRO=3 + - PATH=$HOME/vips/bin:$PATH + - LD_LIBRARY_PATH=$HOME/vips/lib:$LD_LIBRARY_PATH + - PKG_CONFIG_PATH=$HOME/vips/lib/pkgconfig:$PKG_CONFIG_PATH + - PYTHONPATH=$HOME/vips/lib/python2.7/site-packages:$PYTHONPATH + - GI_TYPELIB_PATH=$HOME/vips/lib/girepository-1.0:$GI_TYPELIB_PATH -env: - - LIBVIPS=8.4.4 - dist: trusty addons: apt: packages: @@ -28,28 +35,27 @@ - libpango1.0-dev - libpoppler-glib-dev - libwebp-dev - libglib2.0-dev +cache: + directories: + - $HOME/vips + +# gobject-introspection 3.1 declares itself as 2.1 minimum, so we can't test +# 2.0 ... in fact it seems to work if you force it, but I don't think we can do +# that on travis language: ruby rvm: - 2.1 - 2.2 - 2.3 + - 2.4 script: "bundle exec rake" gemfile: - Gemfile before_install: - uname -a - - sudo apt-get update - - wget http://www.vips.ecs.soton.ac.uk/supported/current/vips-$LIBVIPS.tar.gz - - tar xvf vips-$LIBVIPS.tar.gz - - cd vips-$LIBVIPS - - > - CXXFLAGS=-D_GLIBCXX_USE_CXX11_ABI=0 - ./configure --prefix=/usr - - make - - sudo make install - - sudo ldconfig + - bash install-vips.sh