Skip to content

Commit 7c0f21a

Browse files
committed
Change to travis build to run tests in Chrome
1 parent 0d1bebd commit 7c0f21a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1+
sudo: required
2+
dist: trusty
3+
14
language: node_js
25

36
node_js:
47
- '7'
58

69
before_install:
7-
- export CHROME_BIN=chromium-browser
8-
- export DISPLAY=:99.0
9-
- sh -e /etc/init.d/xvfb start
10+
- export CHROME_BIN=/usr/bin/google-chrome
11+
- export DISPLAY=:99.0
12+
- sh -e /etc/init.d/xvfb start
13+
- sudo apt-get update
14+
- sudo apt-get install -y libappindicator1 fonts-liberation
15+
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
16+
- sudo dpkg -i google-chrome*.deb

0 commit comments

Comments
 (0)