Skip to content

Commit

Permalink
create virtual x frame buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
kewde authored Sep 18, 2018
1 parent 663410b commit 03623ab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/build_against_electron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 03623ab

Please sign in to comment.