forked from VimPlug/jedi
Simplify tox.ini
This commit is contained in:
27
tox.ini
27
tox.ini
@@ -2,8 +2,14 @@
|
|||||||
envlist = py27, py34, py35, py36
|
envlist = py27, py34, py35, py36
|
||||||
[testenv]
|
[testenv]
|
||||||
extras = testing
|
extras = testing
|
||||||
|
deps =
|
||||||
|
# for testing the typing module
|
||||||
|
py27: typing
|
||||||
|
py34: typing
|
||||||
|
# numpydoc for typing scipy stack
|
||||||
|
numpydoc
|
||||||
|
cov: coverage
|
||||||
# Overwrite the parso version (only used sometimes).
|
# Overwrite the parso version (only used sometimes).
|
||||||
# deps =
|
|
||||||
# git+https://github.com/davidhalter/parso.git
|
# git+https://github.com/davidhalter/parso.git
|
||||||
passenv = JEDI_TEST_ENVIRONMENT
|
passenv = JEDI_TEST_ENVIRONMENT
|
||||||
setenv =
|
setenv =
|
||||||
@@ -19,26 +25,7 @@ setenv =
|
|||||||
env37: JEDI_TEST_ENVIRONMENT=37
|
env37: JEDI_TEST_ENVIRONMENT=37
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs:jedi test}
|
pytest {posargs:jedi test}
|
||||||
[testenv:py27]
|
|
||||||
deps =
|
|
||||||
# for testing the typing module
|
|
||||||
typing
|
|
||||||
# numpydoc for typing scipy stack
|
|
||||||
numpydoc
|
|
||||||
[testenv:py34]
|
|
||||||
deps =
|
|
||||||
typing
|
|
||||||
numpydoc
|
|
||||||
[testenv:py35]
|
|
||||||
deps =
|
|
||||||
numpydoc
|
|
||||||
[testenv:py36]
|
|
||||||
deps =
|
|
||||||
numpydoc
|
|
||||||
[testenv:cov]
|
[testenv:cov]
|
||||||
deps =
|
|
||||||
coverage
|
|
||||||
numpydoc
|
|
||||||
commands =
|
commands =
|
||||||
coverage run --source jedi -m pytest
|
coverage run --source jedi -m pytest
|
||||||
coverage report
|
coverage report
|
||||||
|
|||||||
Reference in New Issue
Block a user