Travis CI testing
Is there any easy way to link vips and pyvips on Travis CI? I'm installing both on Travis (installing vips and python3 with brew and pyvips with pip), but am getting two errors:
- OSError: cannot load library 'libgobject-2.0.dylib': dlopen(libgobject-2.0.dylib, 2): image not found. Additionally, ctypes.util.find_library() did not manage to locate a library called 'libgobject-2.0.dylib'
- import _libvips ModuleNotFoundError: No module named '_libvips'
Hello @thomaslchan, yes, libvips itself does this:
https://github.com/libvips/libvips/blob/master/.travis.yml
The libvips test suite is run on every commit, and that's implemented in pyvips.
It seems this is building libvips from the ground up; I would have to include the libvip files in my own repository for building.
I've successfully installed vips and pyvips on Travis with brew and pip, respectfully. Is there a way to link them on Travis?
pyvips does it like this:
https://github.com/libvips/pyvips/blob/master/.travis.yml
So it caches the libvips build.