Skip to content

Commit 4da5cdd

Browse files
committed
Move Travis to Xenial
For some reason this seems to have started happening anyway (we currently use the default), and it'd be better to do it explicitly. Also lets us simplify our xvfb setup somewhat.
1 parent c9a5193 commit 4da5cdd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
dist: xenial
12
sudo: required
23
language: node_js
34
node_js:
@@ -9,11 +10,11 @@ before_install:
910
install:
1011
- npm install --global npm@4
1112
- npm install
13+
services:
14+
- xvfb
1215
before_script:
1316
- sudo chown root /opt/google/chrome/chrome-sandbox
1417
- sudo chmod 4755 /opt/google/chrome/chrome-sandbox
15-
- export DISPLAY=:99.0
16-
- sh -e /etc/init.d/xvfb start
1718
script:
1819
- npm test
1920
- npm run build:src

0 commit comments

Comments
 (0)