Skip to content
Snippets Groups Projects
Commit 4faaa5a1 authored by hagrid67's avatar hagrid67
Browse files

adding -a option to xvfb-run, and putting xvfb-run in

envlist - which is like a whitelist for commands, I think.
parent 35f5af7b
No related branches found
No related tags found
No related merge requests found
...@@ -61,7 +61,7 @@ test-all: ## run tests on every Python version with tox ...@@ -61,7 +61,7 @@ test-all: ## run tests on every Python version with tox
tox tox
coverage: ## check code coverage quickly with the default Python coverage: ## check code coverage quickly with the default Python
xvfb-run coverage run --source flatland -m pytest xvfb-run -a coverage run --source flatland -m pytest
coverage report -m coverage report -m
coverage html coverage html
$(BROWSER) htmlcov/index.html $(BROWSER) htmlcov/index.html
......
[tox] [tox]
envlist = py36, py37, flake8, docs, coverage envlist = py36, py37, flake8, docs, coverage, xvfb-run, sh
[travis] [travis]
python = python =
...@@ -36,6 +36,6 @@ deps = ...@@ -36,6 +36,6 @@ deps =
commands = commands =
pip install -U pip pip install -U pip
sh -c 'echo DISPLAY: $DISPLAY' sh -c 'echo DISPLAY: $DISPLAY'
xvfb-run py.test --basetemp={envtmpdir} xvfb-run -a py.test --basetemp={envtmpdir}
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