Unverified Commit 03623ab2 by Kewde Committed by GitHub

create virtual x frame buffer

parent 663410bb
......@@ -19,7 +19,12 @@ function publish() {
function electron_pretest() {
npm install -g electron@${ELECTRON_VERSION}
npm install -g electron-mocha
sh -e /etc/init.d/xvfb start
if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
(sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )&
else
sh -e /etc/init.d/xvfb start
fi
sleep 3
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment