Merge pull request #775 from bubenkoff/pass-coveralls-env
pass coveralls env
This commit is contained in:
commit
af439e7d74
7
tox.ini
7
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue