From 4065292e56b5ffdcc43fc4bbe42b08794cb8010c Mon Sep 17 00:00:00 2001 From: achingbrain Date: Sat, 31 Aug 2019 08:21:41 +0100 Subject: [PATCH] chore: use xvfb service to fix travis build --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b81faa0..bd3dcaf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -42,7 +42,8 @@ jobs: - stage: test name: electron - before_script: export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start + services: + - xvfb script: - npm run test:electron - npm run test:electron-renderer