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
|
{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
|
||||||
|
|
Loading…
Reference in New Issue