Pass toxinidir to the definition of requirements
Allow to run tox from any directory. Change-Id: I5fcfa00e8bd6dd2f46e66e6405a3bb8031f6a67c
This commit is contained in:
parent
cb32def5c5
commit
2a58ddc82d
4
tox.ini
4
tox.ini
|
@ -4,7 +4,7 @@ envlist = py27,py33,pep8
|
|||
[testenv]
|
||||
usedevelop = True
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
mock
|
||||
coverage
|
||||
commands =
|
||||
|
@ -14,7 +14,7 @@ commands =
|
|||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
-rrequirements.txt
|
||||
-r{toxinidir}/requirements.txt
|
||||
hacking
|
||||
docutils
|
||||
commands =
|
||||
|
|
Loading…
Reference in New Issue