Skip to content

Commit

Permalink
Use service xvfb.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomoyukiAota committed May 8, 2019
1 parent cc80f7f commit 4db31e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ node_js:
- '10'
dist: xenial
sudo: required
services:
- xvfb
addons:
chrome: stable
before_script:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; fi
- export DISPLAY=:99.0
install:
- npm set progress=false
- npm install
Expand Down

0 comments on commit 4db31e3

Please sign in to comment.