Skip to content

Commit

Permalink
Install xvfb to run Nightmare.js on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
hakatashi committed Jan 1, 2017
1 parent 8507c45 commit a5752fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,14 @@ sudo: required
node_js:
- node

# https://github.com/electron/electron/blob/master/docs/tutorial/testing-on-headless-ci.md
addons:
apt:
packages:
- xvfb
before_install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
# Install git-lfs
- mkdir -p $HOME/bin
- wget https://github.com/github/git-lfs/releases/download/v1.4.3/git-lfs-linux-amd64-1.4.3.tar.gz
Expand Down

0 comments on commit a5752fa

Please sign in to comment.