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
pytest==3.8.2
pytest-runner==4.2
pytest-xvfb==1.2.0
sphinx-rtd-theme==0.4.3
numpy==1.16.2
......
......@@ -13,6 +13,7 @@ ignore = E121 E126 E123 E128 E133 E226 E241 E242 E704 W291 W293 W391 W503 W504 W
[testenv:flake8]
basepython = python
deps = flake8
passenv = DISPLAY
commands = flake8 flatland tests examples benchmarks
[testenv:docs]
......@@ -25,8 +26,7 @@ commands = make docs
[testenv:coverage]
basepython = python
whitelist_externals = make
passenv =
DISPLAY
passenv = DISPLAY
commands =
pip install -U pip
pip install -r requirements_dev.txt
......@@ -36,8 +36,7 @@ commands =
basepython = python
setenv =
PYTHONPATH = {toxinidir}
passenv =
DISPLAY
passenv = DISPLAY
whitelist_externals = sh
commands =
sh -c 'ls benchmarks/*.py | xargs -n 1 python'
......@@ -47,8 +46,7 @@ whitelist_externals = sh
pip
setenv =
PYTHONPATH = {toxinidir}
passenv =
DISPLAY
passenv = DISPLAY
deps =
-r{toxinidir}/requirements_dev.txt
; 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