Add xvfb as service

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
This commit is contained in:
Daniel Kesselberg 2020-02-20 21:33:38 +01:00
parent ecb26a812f
commit f54fdd62f9
1 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,8 @@ php:
- 7.2
- 7.3
services:
- xvfb
addons:
apt:
packages:
@ -46,7 +48,7 @@ before_install:
# Setup Selenium
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
#- sh -e /etc/init.d/xvfb start
- sleep 3
- wget https://github.com/mozilla/geckodriver/releases/download/v0.19.1/geckodriver-v0.19.1-linux64.tar.gz
- mkdir geckodriver