mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Separate tox env for coverage check
This commit is contained in:
@@ -5,8 +5,9 @@ env:
|
||||
- TOXENV=py27
|
||||
- TOXENV=py32
|
||||
- TOXENV=py33
|
||||
- TOXENV=cov
|
||||
install:
|
||||
- pip install --quiet --use-mirrors tox coveralls
|
||||
script:
|
||||
- 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 =
|
||||
pytest
|
||||
commands =
|
||||
py.test jedi
|
||||
py.test []
|
||||
[testenv:py25]
|
||||
deps =
|
||||
simplejson
|
||||
@@ -14,8 +14,9 @@ deps =
|
||||
deps =
|
||||
unittest2
|
||||
{[testenv]deps}
|
||||
[testenv:py33]
|
||||
[testenv:cov]
|
||||
deps =
|
||||
pytest-cov
|
||||
{[testenv]deps}
|
||||
commands =
|
||||
py.test --cov jedi
|
||||
py.test --cov jedi []
|
||||
|
||||
Reference in New Issue
Block a user