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

View File

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