Skip to content

Commit 6fb7684

Browse files
committed
Add travis config
Set up travis to test chrome and linux always, and all of our supported browsers for first-party PRs.
1 parent 9486f59 commit 6fb7684

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: node_js
2+
sudo: false
3+
cache:
4+
directories:
5+
- node_modules
6+
matrix:
7+
include:
8+
- node_js: stable
9+
script: xvfb-run -a wct --simpleOutput -l firefox -l chrome
10+
addons:
11+
firefox: latest
12+
apt:
13+
sources:
14+
- google-chrome
15+
packages:
16+
- google-chrome-stable
17+
- node_js: node
18+
script:
19+
- |
20+
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
21+
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'
22+
fi
23+
before_script:
24+
- npm install bower web-component-tester
25+
- export PATH=$PWD/node_modules/.bin:$PATH
26+
- bower install
27+
env:
28+
global:
29+
- secure: eFrp9xwSYG579rAR9/XyXYKh+UtIQJ1xS5q5PABu4ndYFckdJb8o3m7oXqRSikbiPWbCSd3Fkd6+ZKXlcQFdjJ+nx9gFitGthtH93qkvZCO3XhWEEBPj65igIo3hrRSOB6dIWyiZcnoH9IXLLQtKXY9uL1NCqCcyVHg1omPKr9w=
30+
- secure: EAjjkzqZ8z+PEvdo2N2MiIjkqUYAjVkQABKyMw6N4hUa6YSNEW9PYyn4I0d9Rdvc25GwJ+oLQFdeQepioAkNfp6wYUj2IdMIfmmKa1aJWo5DWvOMDYp3ufRhIoiVi4ZVpLg9sTjw+078UhUQFWE44rwfUtHiIb2UbWe2/ueLOiM=

0 commit comments

Comments
 (0)