Separate tox env for coverage check

This commit is contained in:
Takafumi Arakaki
2013-04-10 17:08:20 +02:00
parent 798136787f
commit af22409059
2 changed files with 6 additions and 4 deletions

View File

@@ -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

View File

@@ -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 []