language: ruby
bundler_args: --jobs 1 --retry 3 --without development
cache: bundler
sudo: true

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.0
  - rbx-2
  - ruby-head

matrix:
  allow_failures:
    - rvm: rbx-2
    - rvm: ruby-head
  fast_finish: true

before_install:
  - gem update --system
  - gem update --remote bundler

before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

script:
  - bundle exec rake

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

env:
  global:
    - CC_TEST_REPORTER_ID=3e6be56b2a7bbe02b05521f6d8014aa13e2e0809b485e5f0a21551879a756b20
    - CF_RUN_PERM_SPECS=false

language: ruby
bundler_args: --jobs 1 --retry 3 --without development
cache: bundler
sudo: true

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.0
  - 2.5.1
  - rbx-2
  - ruby-head

matrix:
  allow_failures:
    - rvm: rbx-2
    - rvm: ruby-head
  fast_finish: true

before_install:
  - gem update --system
  - gem update --remote bundler

before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build

script:
  - bundle exec rake

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

env:
  global:
    - CC_TEST_REPORTER_ID=3e6be56b2a7bbe02b05521f6d8014aa13e2e0809b485e5f0a21551879a756b20
    - CF_RUN_PERM_SPECS=false

Add new ruby version to test against
Add new ruby version to test against
