Skip to content
Snippets Groups Projects
Commit 46eaf8f4 authored by mohanty's avatar mohanty
Browse files

Merge branch '37-spm-xvfb-tox-configuration' into 'master'

Resolve "xvfb + tox not playing nice"

Closes #37

See merge request flatland/flatland!31
parents b4f76824 3395b1a1
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ benchmarker==4.0.1 ...@@ -11,6 +11,7 @@ benchmarker==4.0.1
pytest==3.8.2 pytest==3.8.2
pytest-runner==4.2 pytest-runner==4.2
pytest-xvfb==1.2.0
sphinx-rtd-theme==0.4.3 sphinx-rtd-theme==0.4.3
numpy==1.16.2 numpy==1.16.2
......
...@@ -13,6 +13,7 @@ ignore = E121 E126 E123 E128 E133 E226 E241 E242 E704 W291 W293 W391 W503 W504 W ...@@ -13,6 +13,7 @@ ignore = E121 E126 E123 E128 E133 E226 E241 E242 E704 W291 W293 W391 W503 W504 W
[testenv:flake8] [testenv:flake8]
basepython = python basepython = python
deps = flake8 deps = flake8
passenv = DISPLAY
commands = flake8 flatland tests examples benchmarks commands = flake8 flatland tests examples benchmarks
[testenv:docs] [testenv:docs]
...@@ -25,8 +26,7 @@ commands = make docs ...@@ -25,8 +26,7 @@ commands = make docs
[testenv:coverage] [testenv:coverage]
basepython = python basepython = python
whitelist_externals = make whitelist_externals = make
passenv = passenv = DISPLAY
DISPLAY
commands = commands =
pip install -U pip pip install -U pip
pip install -r requirements_dev.txt pip install -r requirements_dev.txt
...@@ -36,8 +36,7 @@ commands = ...@@ -36,8 +36,7 @@ commands =
basepython = python basepython = python
setenv = setenv =
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
passenv = passenv = DISPLAY
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'
...@@ -47,8 +46,7 @@ whitelist_externals = sh ...@@ -47,8 +46,7 @@ whitelist_externals = sh
pip pip
setenv = setenv =
PYTHONPATH = {toxinidir} PYTHONPATH = {toxinidir}
passenv = passenv = DISPLAY
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