Skip to content

Commit

Permalink
Set headless
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Apr 23, 2018
1 parent 24d23d8 commit 67daa56
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/electron_tests/travis.sh
@@ -0,0 +1,12 @@
#!/usr/bin/env bash

if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 3
fi

node --version
npm --version

mocha tests/electron_tests/

0 comments on commit 67daa56

Please sign in to comment.