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
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
  - cd spec; rspec --default-path . -I . -O ../.rspec
cache: bundler

Test the gem installation on most platforms
Test the gem installation on most platforms
