dist: trusty

addons:
  chrome: stable

sudo: required

language: node_js

script:
  - npm run buildAndTest

node_js:
  - "10"
  - "stable"

cache:
  directories:
    - node_modules

notifications:
  email:
    recipients:
      secure: fe88XKh8U+bt2eSkZFKPG//d1i/pYEcG9WqXGRwRd1YzrhM9DVOUPXN5xhNADgfBK0PNZUEga+UMlAcrtt6PgBDZQhQsGWDb720wGLA4UoyerFInYeqb8Pue9V1FJnniys5APwxHAreYONDBRwerKx3OZ0Jz64vHyG1XNaBzlqU=
    on_success: change
    on_failure: always

dist: xenial

addons:
  chrome: stable

sudo: required

language: node_js

script:
  - npm run buildAndTest

node_js:
  - "10"
  - "stable"

cache:
  directories:
    - node_modules

notifications:
  email:
    recipients:
      secure: fe88XKh8U+bt2eSkZFKPG//d1i/pYEcG9WqXGRwRd1YzrhM9DVOUPXN5xhNADgfBK0PNZUEga+UMlAcrtt6PgBDZQhQsGWDb720wGLA4UoyerFInYeqb8Pue9V1FJnniys5APwxHAreYONDBRwerKx3OZ0Jz64vHyG1XNaBzlqU=
    on_success: change
    on_failure: always

Update Travis CI build to Xenial
Update Travis CI build to Xenial
