From cb18a99630625136977d28e4a33dbbc634039cbd Mon Sep 17 00:00:00 2001
From: Clement Michaud <c.michaud@criteo.com>
Date: Sat, 19 Oct 2019 17:46:10 +0200
Subject: [PATCH] Install xvfb in travis container.

---
 .travis.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 4d922109..6c175884 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,19 +5,16 @@ node_js:
 services:
 - docker
 - ntp
+- xvfb
 addons:
   chrome: stable
   apt:
     sources:
     - google-chrome
     packages:
+    - xvfb
     - libgif-dev
     - google-chrome-stable
-
-before_script:
-- export DISPLAY=:99.0
-- sh -e /etc/init.d/xvfb start
-- sleep 3
 script:
 - "./scripts/authelia-scripts travis"
 after_success: