1language: node_js
2sudo: required
3before_script:
4- npm install -g bower polylint web-component-tester
5- bower install
6- polylint
7node_js: '6'
8addons:
9  firefox: latest
10  apt:
11    sources:
12    - google-chrome
13    packages:
14    - google-chrome-stable
15script:
16- xvfb-run wct -l chrome
17- xvfb-run wct -l firefox
18- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then wct -s 'default'; fi
19dist: trusty
20env:
21  global:
22  - secure: KEzThhoQ3Aq9kSZIuCzyi6MtYbzxB67JSs2t9CebYoXgW49k3q7Uh/KMUHz8RM04hSa7k2gDGf1Spr4jkXpItHn037aW/Bd+95l49my8pSJvHLEQR8KO/b+FSH/Tu+wKXAm4xk4Mp+vESOxIWap1JXHxSJnoa0EqKyYCeKVVkMI=
23  - secure: dhfUH2Sx4rC089kHVtjggaGRMdEa0UHa9ksC5buMk5XBI2GriRE+D3/1N7tBxg4f2HcVbi1+7jTIRHz+xYvypuXCr/9Bh7zh19KhBjrMdFYPZwy3fK3O9xfrypwpldFq1Q3mFcJ3p5sfqHjKvvWlGf/lffqQY5rVr8UI86Lklac=
24