Skip to content

Commit cc92852

Browse files
committed
Update xvfb setup
1 parent d00d716 commit cc92852

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
language: node_js
2+
dist: xenial
3+
services:
4+
- xvfb
25
node_js:
36
- stable
47
- 10
58
- 8
6-
- 6
79
matrix:
810
fast_finish: true
911
include:
@@ -15,16 +17,9 @@ matrix:
1517
env: ELECTRON_VERSION=4
1618
- node_js: 8
1719
env: ELECTRON_VERSION=3
18-
- node_js: 8
19-
env: ELECTRON_VERSION=2
20-
allow_failures:
21-
- node_js: stable
22-
env: ELECTRON_VERSION=beta
20+
#- node_js: stable
21+
# env: ELECTRON_VERSION=beta
2322
before_install:
24-
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
25-
export DISPLAY=:99.0;
26-
Xvfb :99 -ac -screen 0 1024x768x24 > /dev/null 2>&1 &
27-
fi
2823
- if [[ -n $ELECTRON_VERSION ]]; then
2924
npm install electron@$ELECTRON_VERSION;
3025
fi

0 commit comments

Comments
 (0)