mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +08:00
Separate tox env for coverage check
This commit is contained in:
@@ -5,8 +5,9 @@ env:
|
|||||||
- TOXENV=py27
|
- TOXENV=py27
|
||||||
- TOXENV=py32
|
- TOXENV=py32
|
||||||
- TOXENV=py33
|
- TOXENV=py33
|
||||||
|
- TOXENV=cov
|
||||||
install:
|
install:
|
||||||
- pip install --quiet --use-mirrors tox coveralls
|
- pip install --quiet --use-mirrors tox coveralls
|
||||||
script:
|
script:
|
||||||
- tox
|
- tox
|
||||||
- if [ $TOXENV == "py33" ]; then coveralls; fi
|
- if [ $TOXENV == "cov" ]; then coveralls; fi
|
||||||
|
|||||||
7
tox.ini
7
tox.ini
@@ -4,7 +4,7 @@ envlist = py25, py26, py27, py32, py33
|
|||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
commands =
|
commands =
|
||||||
py.test jedi
|
py.test []
|
||||||
[testenv:py25]
|
[testenv:py25]
|
||||||
deps =
|
deps =
|
||||||
simplejson
|
simplejson
|
||||||
@@ -14,8 +14,9 @@ deps =
|
|||||||
deps =
|
deps =
|
||||||
unittest2
|
unittest2
|
||||||
{[testenv]deps}
|
{[testenv]deps}
|
||||||
[testenv:py33]
|
[testenv:cov]
|
||||||
deps =
|
deps =
|
||||||
pytest-cov
|
pytest-cov
|
||||||
|
{[testenv]deps}
|
||||||
commands =
|
commands =
|
||||||
py.test --cov jedi
|
py.test --cov jedi []
|
||||||
|
|||||||
Reference in New Issue
Block a user