language: ruby
rvm:
  - 2.3.1
matrix:
  include:
    - rvm: 2.2
      os: osx
      osx_image: xcode7.3
    - rvm: jruby-9.0.5.0
      jdk: oraclejdk8
    - rvm: 2.3.1
      dist: trusty
      sudo: true
      script: MAKEFLAGS=-j8 bundle exec rake
script:
  - bundle exec rake build
  - gem install pkg/*.gem
  - cd spec; bundle exec rspec --default-path . -I . -O ../.rspec; cd ..
cache: bundler

language: ruby
rvm:
  - 2.3.1
matrix:
  include:
    - rvm: 2.2
      os: osx
      osx_image: xcode7.3
    - rvm: jruby-9.0.5.0
      jdk: oraclejdk8
    - rvm: 2.3.1
      dist: trusty
      sudo: true
      script: MAKEFLAGS=-j8 bundle exec rake
script:
  - bundle exec rake build
  - gem install pkg/*.gem
  - cp `gem open -e echo image_compressor_pack`/lib/.paths.yml lib/
  - bundle exec rake spec
cache: bundler

Copy over the .paths.yml file before running specs
Copy over the .paths.yml file before running specs
