From 5f41095fc964a18056dd5dc59e8f4494ba62c4ca Mon Sep 17 00:00:00 2001 From: Jason Poon <85374+jpoon@users.noreply.github.com> Date: Thu, 27 Jun 2019 15:43:36 -0700 Subject: [PATCH] Update .travis.yml https://github.com/microsoft/vscode/issues/75873#issuecomment-506453979 --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4fa49540fe..9de3b99d421 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,9 +26,8 @@ addons: before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then - export CXX="g++-4.9" CC="gcc-4.9" DISPLAY=:99.0; - sh -e /etc/init.d/xvfb start; - sleep 3; + export DISPLAY=':99.0' + /usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & fi script: