branches:
  only:
    - master

language: ruby
cache: bundler
rvm:
  - 2.0.0-p647
  - 2.3.4
  - 2.4.1

matrix:
  include:
  - rvm: 2.4.1
    env: COCOAPODS_CI_TASKS=LINT

script:
  - bundle exec rake spec:all
  - if [ "$COCOAPODS_CI_TASKS" = "LINT" ]; then bundle exec danger; fi

addons:
 code_climate:
   repo_token: fcf708528e1eca6e8a8bf8f7be3bd24e4478b019c4cd7860325c141dd52aa152

branches:
  only:
    - master

language: ruby
cache: bundler
rvm:
  - 2.0.0-p648
  - 2.1.10
  - 2.2.9
  - 2.3.6
  - 2.4.3
  - 2.5.0

matrix:
  include:
  - rvm: 2.5.0
    env: COCOAPODS_CI_TASKS=LINT

script:
  - bundle exec rake spec:all
  - if [ "$COCOAPODS_CI_TASKS" = "LINT" ]; then bundle exec danger; fi

addons:
 code_climate:
   repo_token: fcf708528e1eca6e8a8bf8f7be3bd24e4478b019c4cd7860325c141dd52aa152

Test against new Ruby 2.5 and patched
[CI] Test against new Ruby 2.5 and patched