Skip to content

Commit 7aa09d4

Browse files
committed
1 parent 1616701 commit 7aa09d4

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ os:
1616
# This is needed to enable testing VS Code on Travis, as per
1717
# https://code.visualstudio.com/docs/extensions/testing-extensions#_running-tests-automatically-on-travis-ci-build-machines
1818
before_install:
19-
- if [ $TRAVIS_OS_NAME == "linux" ]; then
20-
export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0;
21-
sh -e /etc/init.d/xvfb start;
22-
sleep 3;
19+
- |
20+
if [ $TRAVIS_OS_NAME == "linux" ]; then
21+
export DISPLAY=':99.0'
22+
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
2323
fi
24-
2524
install:
2625
- npm install
2726
- npm run vscode:prepublish

0 commit comments

Comments
 (0)