language: ruby
rvm: 2.6.5
cache: bundler
before_install:
  - git config --global user.name 'Travis CI'
  - git config --global user.email 'travis-ci@example.com'
  - gem update --system
  - gem install bundler
  - bundler config --global disable_platform_warnings true
install: bundle install
notifications:
  email: false
services:
  - postgresql

language: ruby
rvm: 2.6.5
cache: bundler
before_install:
  - nvm install 8.16.0
  - git config --global user.name 'Travis CI'
  - git config --global user.email 'travis-ci@example.com'
  - gem update --system
  - gem install bundler
  - bundler config --global disable_platform_warnings true
install: bundle install
notifications:
  email: false
services:
  - postgresql

Use a more recent Node JavaScript runtime
Use a more recent Node JavaScript runtime

Travis ships with 8.12.0, even in the most up-to-date GNU/Linux distro
they offer (Ubuntu Bionic). Install 8.16.0 manually instead.

```
Webpacker requires Node.js >= 8.16.0 and you are using 8.12.0
Please upgrade Node.js https://nodejs.org/en/download/
```
