machine:
  timezone: Asia/Tokyo
  ruby:
    version: 2.4.1
dependencies:
  override:
    - bundle install --path vendor/bundle
test:
  override:
    - bundle exec rubocop
    - bundle exec rspec
machine:
  timezone: Asia/Tokyo
  ruby:
    version: 2.4.1
dependencies:
  cache_directories:
    - 'vendor/bundle'
    - 'vendor/bundle_2.5.0-dev'
    - 'vendor/bundle_2.3.4'
    - 'vendor/bundle_2.2.7'
    - 'vendor/bundle_2.1.6'
  pre:
    - 'rvm install 2.5.0-dev'
    - 'rvm install 2.3.4'
    - 'rvm install 2.2.7'
    - 'rvm install 2.1.6'
  override:
    - bundle install --path vendor/bundle
    - rvm-exec 2.5.0-dev bash -c 'bundle install --path vendor/bundle_2.5.0-dev'
    - rvm-exec 2.3.4 bash -c 'bundle install --path vendor/bundle_2.3.4'
    - rvm-exec 2.2.7 bash -c 'bundle install --path vendor/bundle_2.2.7'
    - rvm-exec 2.1.6 bash -c 'bundle install --path vendor/bundle_2.1.6'
test:
  override:
    - bundle exec rubocop
    - bundle exec rspec
    - rvm-exec 2.5.0-dev bash -c 'bundle exec rspec'
    - rvm-exec 2.3.4 bash -c 'bundle exec rspec'
    - rvm-exec 2.2.7 bash -c 'bundle exec rspec'
    - rvm-exec 2.1.6 bash -c 'bundle exec rspec'
general:
  artifacts:
    - coverage
Test with multiple ruby version
Test with multiple ruby version
