sudo: false
dist: trusty
language: node_js
node_js: stable

cache:
  directories:
    - bower_components
    - node_modules

addons:
  firefox: latest
  google-chrome: latest

script:
  - gulp lint
  - travis_retry xvfb-run wct
  - travis_retry xvfb-run wct --dom=shadow

sudo: false
dist: trusty
language: node_js
node_js: stable

cache:
  directories:
    - bower_components
    - node_modules

addons:
  firefox: latest
  google-chrome: latest

script:
  - gulp lint
  - travis_retry xvfb-run -s '-screen 0 1024x768x24' wct
  - travis_retry xvfb-run -s '-screen 0 1024x768x24' wct --dom=shadow

Fix test errors in Travis/xvfb environment
Fix test errors in Travis/xvfb environment
