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
|
||||
[testenv]
|
||||
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).
|
||||
# deps =
|
||||
# git+https://github.com/davidhalter/parso.git
|
||||
passenv = JEDI_TEST_ENVIRONMENT
|
||||
setenv =
|
||||
@@ -19,26 +25,7 @@ setenv =
|
||||
env37: JEDI_TEST_ENVIRONMENT=37
|
||||
commands =
|
||||
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]
|
||||
deps =
|
||||
coverage
|
||||
numpydoc
|
||||
commands =
|
||||
coverage run --source jedi -m pytest
|
||||
coverage report
|
||||
|
||||
Reference in New Issue
Block a user