Skip to content
Snippets Groups Projects
Commit b36b0e66 authored by spmohanty's avatar spmohanty
Browse files

Pass DISPLAY variable to tox

parent 6d6e8b6a
No related branches found
No related tags found
No related merge requests found
...@@ -18,11 +18,15 @@ commands = flake8 flatland tests examples benchmarks ...@@ -18,11 +18,15 @@ commands = flake8 flatland tests examples benchmarks
[testenv:docs] [testenv:docs]
basepython = python basepython = python
whitelist_externals = make whitelist_externals = make
passenv =
DISPLAY
commands = make docs commands = make docs
[testenv:coverage] [testenv:coverage]
basepython = python basepython = python
whitelist_externals = make whitelist_externals = make
passenv =
DISPLAY
commands = commands =
pip install -U pip pip install -U pip
pip install -r requirements_dev.txt pip install -r requirements_dev.txt
...@@ -32,6 +36,8 @@ commands = ...@@ -32,6 +36,8 @@ commands =
basepython = python basepython = python
setenv = setenv =
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
passenv =
DISPLAY
whitelist_externals = sh whitelist_externals = sh
commands = commands =
sh -c 'ls benchmarks/*.py | xargs -n 1 python' sh -c 'ls benchmarks/*.py | xargs -n 1 python'
...@@ -41,6 +47,8 @@ whitelist_externals = sh ...@@ -41,6 +47,8 @@ whitelist_externals = sh
pip pip
setenv = setenv =
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
passenv =
DISPLAY
deps = deps =
-r{toxinidir}/requirements_dev.txt -r{toxinidir}/requirements_dev.txt
; If you want to make tox run the tests with the same versions, create a ; If you want to make tox run the tests with the same versions, create a
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment