Skip to content

Instantly share code, notes, and snippets.

@skunkworker
Created September 2, 2017 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save skunkworker/820097464fd9c7c5dd16f69f337fbe4c to your computer and use it in GitHub Desktop.
Save skunkworker/820097464fd9c7c5dd16f69f337fbe4c to your computer and use it in GitHub Desktop.
Compile Vips 8.5.8 on Travis CI
dist: trusty
before_install:
- chmod +x travis_compile_vips.sh
- ./travis_compile_vips.sh
cache:
directories:
- vips-8.5.8
#!/bin/sh
set -ex
if [ -d "vips-8.5.8"]; then
cd vips-8.5.8/
sudo make install;
else
curl -L https://github.com/jcupitt/libvips/releases/download/v8.5.8/vips-8.5.8.tar.gz | tar xz;
cd vips-8.5.8;
sudo dpkg --configure -a;
sudo sh -c ' echo "/usr/local/lib/" >> /etc/ld.so.conf.d/local.conf;'
./configure;
make;
sudo make install;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment