From b36b0e66ea0c25496d084c2065182b5f5389d352 Mon Sep 17 00:00:00 2001
From: SP Mohanty <spmohanty91@gmail.com>
Date: Wed, 22 May 2019 14:45:47 +0200
Subject: [PATCH] Pass DISPLAY variable to tox

---
 tox.ini | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/tox.ini b/tox.ini
index 20dda81..939334a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,11 +18,15 @@ commands = flake8 flatland tests examples benchmarks
 [testenv:docs]
 basepython = python
 whitelist_externals = make
+passenv =
+    DISPLAY
 commands = make docs
 
 [testenv:coverage]
 basepython = python
 whitelist_externals = make
+passenv =
+    DISPLAY
 commands =
     pip install -U pip
     pip install -r requirements_dev.txt
@@ -32,6 +36,8 @@ commands =
 basepython = python
 setenv =
     PYTHONPATH = {toxinidir}
+passenv =
+    DISPLAY
 whitelist_externals = sh
 commands =
     sh -c 'ls benchmarks/*.py  | xargs -n 1 python'
@@ -41,6 +47,8 @@ whitelist_externals = sh
                       pip
 setenv =
     PYTHONPATH = {toxinidir}
+passenv =
+    DISPLAY
 deps =
     -r{toxinidir}/requirements_dev.txt
 ; If you want to make tox run the tests with the same versions, create a
-- 
GitLab