diff --git a/.travis.yml b/.travis.yml index 955f1bee..d50c3a28 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ language: node_js -sudo: false +dist: xenial +services: + - xvfb ##### WARNING # node-pre-gyp tests are not concurrency safe diff --git a/scripts/test-node-webkit.sh b/scripts/test-node-webkit.sh index 02c84be6..48afec95 100755 --- a/scripts/test-node-webkit.sh +++ b/scripts/test-node-webkit.sh @@ -24,7 +24,6 @@ else # assume 64 bit linux wget https://s3.amazonaws.com/node-webkit/v${NODE_WEBKIT_VERSION}/node-webkit-v${NODE_WEBKIT_VERSION}-linux-x64.tar.gz tar xf node-webkit-v${NODE_WEBKIT_VERSION}-linux-x64.tar.gz - export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; export PATH=${BASE}/node-webkit-v0.8.5-linux-x64:${PATH} fi