Skip to content

Commit 53c14e7

Browse files
removes before script from travis.yml and adds xvfb to services
1 parent 514c0ec commit 53c14e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ node_js:
77
- "8"
88
# node 6 is not compatible with tfjs-node
99
# - "6"
10+
services:
11+
- xvfb
1012
env:
1113
global:
1214
- BACKEND_CPU=true EXCLUDE_UNCOMPRESSED=true
@@ -16,9 +18,6 @@ env:
1618
addons:
1719
chrome: stable
1820
install: npm install
19-
before_install:
20-
- export DISPLAY=:99.0
21-
- sh -e /etc/init.d/xvfb start
2221
script:
2322
- if [ $ENV == 'browser' ]; then npm run test-browser; fi
2423
- if [ $ENV == 'node' ]; then npm run test-node; fi

0 commit comments

Comments
 (0)