Merge "fix tox python3 overrides"
This commit is contained in:
commit
8ecc5d0a0f
7
tox.ini
7
tox.ini
|
@ -19,9 +19,11 @@ commands =
|
|||
py.test -vv {posargs:devops/tests}
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs:}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
deps =
|
||||
pytest-cov
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
|
@ -33,12 +35,14 @@ commands =
|
|||
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
deps = hacking==0.10.1
|
||||
usedevelop = False
|
||||
commands =
|
||||
flake8
|
||||
|
||||
[testenv:pylint]
|
||||
basepython = python3
|
||||
deps =
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
pylint
|
||||
|
@ -46,12 +50,14 @@ commands =
|
|||
pylint --rcfile=.pylintrc_gerrit devops bin/dos.py
|
||||
|
||||
[testenv:pylint-py27]
|
||||
basepython = python2.7
|
||||
deps=
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
pylint
|
||||
commands=pylint devops bin/dos.py
|
||||
|
||||
[testenv:pylint-py35]
|
||||
basepython = python3
|
||||
deps=
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
pylint
|
||||
|
@ -67,4 +73,5 @@ count = True
|
|||
DJANGO_SETTINGS_MODULE=devops.test_settings
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
commands = python setup.py build_sphinx
|
||||
|
|
Loading…
Reference in New Issue