language: node_js
sudo: false
matrix:
  include:
  - node_js: stable
    script: xvfb-run -a wct --simpleOutput -l firefox -l chrome
    addons:
      firefox: latest
      apt:
        sources:
        - google-chrome
        packages:
        - google-chrome-stable
  - node_js: node
    script:
    - |
      if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
        wct --simpleOutput -s 'Windows 10/microsoftedge' -s 'Windows 8.1/internet explorer@11' -s 'Windows 7/internet explorer@10' -s 'OS X 10.10/safari@8' -s 'OS X 10.9/safari@7'
      fi
before_script:
- npm install bower
- npm install web-component-tester
- export PATH=$PWD/node_modules/.bin:$PATH
- bower install


Add Travis CI configuration file.
Add Travis CI configuration file.

Taken verbatim from GoogleWebComponents/firebase-element
