diff --git a/.travis.yml b/.travis.yml index 2b8e294..3218f2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,10 @@ before_script: - "export DISPLAY=:99.0" - - "sh -e /etc/init.d/xvfb start" + - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -nolisten $NOLISTEN" + +env: + - NOLISTEN=tcp + - NOLISTEN=unix language: node_js node_js: