Skip to content

Commit c5f5ca1

Browse files
author
Patrick Walsh
committed
Use xvfb service
1 parent 21d47dd commit c5f5ca1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ cache:
1111
directories:
1212
- node_modules
1313
sudo: false
14+
services:
15+
- xvfb
1416
install:
1517
- npm -g install npm@5.10
1618
- npm install

travis_tests.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ set -ev
44
if [ "${TEST_SUITE}" = "browser" ]; then
55
# Load display for browser tests
66
export DISPLAY=:99.0
7-
sh -e /etc/init.d/xvfb start
8-
# give xvfb some time to start
9-
sleep 3
107
npm run build
118
npm run test:browser
129
else

0 commit comments

Comments
 (0)