Merge pull request #775 from bubenkoff/pass-coveralls-env

pass coveralls env
This commit is contained in:
Anatoly Bubenkov 2015-06-16 02:39:17 +02:00
commit af439e7d74
1 changed files with 4 additions and 3 deletions

View File

@ -142,16 +142,17 @@ commands=
{envpython} tox_run.py
[testenv:coveralls]
changedir=testing
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
changedir=
usedevelop=True
basepython=python3.4
deps =
{[testenv]deps}
coveralls
commands=
coverage run --source=_pytest {envdir}/bin/py.test
coverage run --source=_pytest {envdir}/bin/py.test testing
coverage report -m
coveralls
passenv=COVERALLS_REPO_TOKEN
[pytest]
minversion=2.0