sudo: required
language: ruby
rvm:
  - 2.3.1
before_install:
  - gem install bundler -v 1.12.5
  - sudo apt-get -qq update
  - sudo apt-get install -y libgphoto2-2 libgphoto2-port0

sudo: required
dist: trusty
language: ruby
rvm:
  - 2.3.1
before_install:
  - gem install bundler -v 1.12.5
  - sudo apt-get -qq update
  - sudo apt-get install libgphoto2-6 libgphoto2-port10
  - sudo ln -s /usr/lib/x86_64-linux-gnu/libgphoto2.so{.6,}
  - sudo ln -s /usr/lib/x86_64-linux-gnu/libgphoto2_port.so{.10,}

Use Ubuntu 14.04 for CI builds
Use Ubuntu 14.04 for CI builds

Ubuntu 12.04's libgphoto2 package is too old.

Also, since libraries are not installed with an unversioned name,
they're simply symlinked to one. See
<https://github.com/ffi/ffi/wiki/Loading-Libraries#linux-packages>
for details.
