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 {envpython} tox_run.py
[testenv:coveralls] [testenv:coveralls]
changedir=testing passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
changedir=
usedevelop=True
basepython=python3.4 basepython=python3.4
deps = deps =
{[testenv]deps} {[testenv]deps}
coveralls coveralls
commands= commands=
coverage run --source=_pytest {envdir}/bin/py.test coverage run --source=_pytest {envdir}/bin/py.test testing
coverage report -m coverage report -m
coveralls coveralls
passenv=COVERALLS_REPO_TOKEN
[pytest] [pytest]
minversion=2.0 minversion=2.0