From 1091ac4e76b1ac2be27e4175cf555df905a9ff2f Mon Sep 17 00:00:00 2001 From: Jochen Saalfeld Date: Tue, 15 Jan 2019 13:09:35 +0100 Subject: [PATCH] Fix Headless Browser Start with Travis Even though the documentation of travis still states, that xvfb can be initialized via init.d, it seems that all images are updated to use systemd, therefore it was switched to the travis service syntax. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 194187048..8e3ed3411 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,8 +82,9 @@ matrix: cache: directories: - node_modules + services: + - xvfb before_install: - - sh -e /etc/init.d/xvfb start - export CHROME_BIN=/usr/bin/google-chrome - export DISPLAY=:99.0 - npm install -g @angular/cli