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:
parent
ce64ff7ac8
commit
1091ac4e76
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user