Enable xvfb on travis to run electron
This commit is contained in:
@@ -3,6 +3,13 @@ node_js:
|
|||||||
- '6'
|
- '6'
|
||||||
sudo: false
|
sudo: false
|
||||||
language: node_js
|
language: node_js
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- xvfb
|
||||||
|
before_install:
|
||||||
|
- export DISPLAY=':99.0'
|
||||||
|
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
|
||||||
script: npm run test:cov
|
script: npm run test:cov
|
||||||
after_script: npm i -g codecov.io && cat ./coverage/lcov.info | codecov
|
after_script: npm i -g codecov.io && cat ./coverage/lcov.info | codecov
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user