diff --git a/.travis.yml b/.travis.yml index c3c05030e0..37f8c56930 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,16 @@ language: node_js sudo: false -dist: trusty -node_js: '9' +dist: xenial +node_js: '10' +services: + - xvfb addons: - firefox: "66.0" - chrome: stable + firefox: latest + apt: + sources: + - google-chrome + packages: + - google-chrome-stable cache: directories: - node_modules @@ -13,7 +19,7 @@ before_script: - gulp lint-eslint script: - node ./node_modules/.bin/polymer test --npm --module-resolution=node -l chrome -- xvfb-run node ./node_modules/.bin/polymer test --npm --module-resolution=node -l firefox +- node ./node_modules/.bin/polymer test --npm --module-resolution=node -l firefox - if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then travis_wait 30 ./util/travis-sauce-test.sh; fi env: global: