sudo: false
dist: trusty
bundler_args: "--verbose"
script: "rake test"
rvm:
  - 1.8.7-p371
  - 1.9.3
  - 2.0.0
  - 2.1.10
  - 2.2.10
  - 2.3.8
  - 2.4.9
  - 2.5.7
  - 2.6.5
  - 2.7.0
  - ruby-head
  - jruby-9.2.9.0
  - jruby-head
  - truffleruby
gemfile:
  - Gemfile
env:
  - MOCHA_OPTIONS=debug
matrix:
  include:
    - rvm: truffleruby
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: jruby-head
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: jruby-9.2.9.0
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: ruby-head
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.7.0
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.6.5
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.5.7
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.4.9
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.3.8
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.2.10
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.1.10
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.minitest.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.minitest.2.11.2
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.minitest.2.11.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.minitest.2.3.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.minitest.2.0.1
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.minitest.2.0.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.9.3
      gemfile: Gemfile
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.5.11.3
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.2.11.2
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.2.11.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.2.3.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.2.0.1
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.2.0.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.1.4.2
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.1.4.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.minitest.1.3.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=minitest
    - rvm: truffleruby
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: jruby-9.2.9.0
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: jruby-head
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: ruby-head
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.7.0
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.6.5
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.5.7
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.4.9
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.3.8
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.2.10
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.1.10
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 2.0.0
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.test-unit.2.0.3
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.test-unit.2.0.1
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.9.3
      gemfile: gemfiles/Gemfile.test-unit.2.0.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.test-unit.latest
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.test-unit.2.0.3
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.test-unit.2.0.1
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.8.7-p371
      gemfile: gemfiles/Gemfile.test-unit.2.0.0
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
    - rvm: 1.8.7-p371
      gemfile: Gemfile
      env: MOCHA_OPTIONS=debug MOCHA_RUN_INTEGRATION_TESTS=test-unit
  allow_failures:
    - rvm: 1.8.7-p371
    - rvm: truffleruby
    - rvm: ruby-head
    - rvm: jruby-head
  fast_finish: true
