language: ruby
dist: bionic
sudo: false
cache:
  bundler: true
rvm:
  - 2.5.8
  - 2.6.6
  - 2.7.1
env:
  matrix:
    - ALCHEMY_BRANCH=4.4-stable
    - ALCHEMY_BRANCH=4.5-stable
    - ALCHEMY_BRANCH=4.6-stable
    - ALCHEMY_BRANCH=5.0-stable
    - ALCHEMY_BRANCH=main
matrix:
  fast_finish: true
  allow_failures:
    - env: ALCHEMY_BRANCH=main
script: bundle exec rake

language: ruby
dist: bionic
sudo: false
cache:
  bundler: true
rvm:
  - 2.5.8
  - 2.6.6
  - 2.7.1
env:
  matrix:
    - ALCHEMY_BRANCH=4.4-stable
    - ALCHEMY_BRANCH=4.5-stable
    - ALCHEMY_BRANCH=4.6-stable
    - ALCHEMY_BRANCH=5.0-stable
    - ALCHEMY_BRANCH=main
matrix:
  fast_finish: true
  allow_failures:
    - env: ALCHEMY_BRANCH=main
before_script: nvm use 12
script: bundle exec rake

Use NodeJS 12 during test runs on Travis
Use NodeJS 12 during test runs on Travis

Webpacker needs Node 12
