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.
This commit is contained in:
Jochen Saalfeld 2019-01-15 13:09:35 +01:00
parent ce64ff7ac8
commit 1091ac4e76
No known key found for this signature in database
GPG Key ID: 8ACD4E8264B67DF4

View File

@ -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