diff --git a/.travis.yml b/.travis.yml index 202d5d0505..59a3e3bd98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,19 +3,15 @@ language: node_js node_js: - "6" -env: - - CXX=g++-4.9 - -addons: - apt: - sources: - - ubuntu-toolchain-r-test - packages: - - g++-4.9 +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; + fi install: - npm install -- npm run vscode:prepublish - npm run compile - npm install -g vsce - vsce package