sudo: false
language: node_js
script: npm run test:travis
node_js:
    - 'lts/*'

sudo: required
addons:
  chrome: stable
language: node_js
node_js:
    - '10'
cache:
  directories:
    - ~/.npm
    - node_modules
install:
  - npm install
script: npm run test:travis

Update Travis config for chrome
Update Travis config for chrome
