language: ruby
sudo: false
cache: bundler

rvm:
  - 2.5.0
  - 2.4.3
  - 2.3.6
  - 2.2.9
  - 2.1.10
  - 2.0.0
  - rbx-3
  - jruby-9.0.5.0
  - jruby-head
  - ruby-head

matrix:
  include:
    - rvm: 2.5.0
      before_script:
        - bundle exec danger
      after_script:
        - bundle exec codeclimate-test-reporter
    - rvm: 2.5.0
      install:
        - for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle; done
      script:
        - set -e ; for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle exec rspec $dir; done
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3

language: ruby
sudo: false
cache: bundler

rvm:
  - 2.5.0
  - 2.4.3
  - 2.3.6
  - 2.2.9
  - 2.1.10
  - rbx-3
  - jruby-9.0.5.0
  - jruby-head
  - ruby-head

matrix:
  include:
    - rvm: 2.5.0
      before_script:
        - bundle exec danger
      after_script:
        - bundle exec codeclimate-test-reporter
    - rvm: 2.5.0
      install:
        - for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle; done
      script:
        - set -e ; for dir in spec/integration/*; do BUNDLE_GEMFILE=$dir/Gemfile bundle exec rspec $dir; done
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3

Remove Ruby 2.0.0 from the list of tested Rubies
Remove Ruby 2.0.0 from the list of tested Rubies

Since Rubocop requires Ruby 2.1+ we're not going to test against Rubies
under that anymore. We're not explicitly dropping support for them,
however.
