sudo: required
dist: trusty
addons:
    chrome: stable
before_script:
    - "sudo chown root /opt/google/chrome/chrome-sandbox"
    - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
language: ruby
cache:
  bundler: true
  directories:
    - node_modules
  yarn: true

rvm:
  - 2.4
  - 2.5
  - 2.6
  - 2.7

install:
  - bundle install
  - nvm install node
  - yarn

script:
  - yarn test
  - bundle exec rake test

sudo: required
dist: trusty
addons:
    chrome: stable
before_script:
    - "sudo chown root /opt/google/chrome/chrome-sandbox"
    - "sudo chmod 4755 /opt/google/chrome/chrome-sandbox"
language: ruby
cache:
  bundler: true
  directories:
    - node_modules
  yarn: true

rvm:
  - 2.5
  - 2.6
  - 2.7

install:
  - bundle install
  - nvm install node
  - yarn

script:
  - yarn test
  - bundle exec rake test

Remove rvm 2.4 from Travis
Remove rvm 2.4 from Travis
