Skip to content

Commit c2a27b7

Browse files
committed
Add a travis config
1 parent f2a788c commit c2a27b7

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
sudo: required
2+
language: node_js
3+
node_js:
4+
- 'node'
5+
- '10'
6+
- '8'
7+
install:
8+
- npm install --global npm@4
9+
- npm install
10+
before_script:
11+
- sudo chown root /opt/google/chrome/chrome-sandbox
12+
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
13+
- export DISPLAY=:99.0
14+
- sh -e /etc/init.d/xvfb start
15+
script:
16+
- npm test
17+
addons:
18+
chrome: stable
19+
firefox: latest

0 commit comments

Comments
 (0)