Commit 5e3dce37 authored by Philippe Pepiot's avatar Philippe Pepiot
Browse files

tox: don't enable global site package

This is known to produce non-reproductible tests. Furthermore we deploy using
pip and virtualenv on Centos 7 but we are testing on Debian stretch, so testing
global site package on jenkins has no advantage.

Thus we can disable some whitelist_externals which are no longer required.
parent 359177d6a1c8
......@@ -6,7 +6,6 @@ envlist = py27, flake8-jenkins, check-manifest
[testenv]
sitepackages = True
deps =
-rdev-requirements.txt
commands = {envpython} -m pytest {posargs:{toxinidir}/test}
......@@ -25,16 +24,12 @@ commands =
[testenv:flake8]
skip_install = true
whitelist_externals =
flake8
deps =
flake8
commands = flake8 {posargs:{toxinidir}}
[testenv:flake8-jenkins]
skip_install = true
whitelist_externals =
flake8
deps =
flake8
commands = flake8 --exit-zero --show-source --output-file=code_quality.log {toxinidir}
......@@ -57,8 +52,6 @@ commands = make -C cubicweb_seda {posargs}
[testenv:doc]
changedir = doc
whitelist_externals =
sphinx-build
deps =
sphinx
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment