Actually add coverage back, it's just coveralls we didn't want
This commit is contained in:
@@ -18,8 +18,10 @@ install_requires = [
|
|||||||
tests_require = [
|
tests_require = [
|
||||||
'requests>=1.0.0, <3.0.0',
|
'requests>=1.0.0, <3.0.0',
|
||||||
'nose',
|
'nose',
|
||||||
|
'coverage',
|
||||||
'mock',
|
'mock',
|
||||||
'pyaml',
|
'pyaml',
|
||||||
|
'nosexcover'
|
||||||
]
|
]
|
||||||
|
|
||||||
# use external unittest for 2.6
|
# use external unittest for 2.6
|
||||||
|
|||||||
@@ -55,9 +55,11 @@ def run_all(argv=None):
|
|||||||
# fetch yaml tests
|
# fetch yaml tests
|
||||||
fetch_es_repo()
|
fetch_es_repo()
|
||||||
|
|
||||||
|
# always insert coverage when running tests
|
||||||
if argv is None:
|
if argv is None:
|
||||||
argv = [
|
argv = [
|
||||||
'nosetests', '--with-xunit',
|
'nosetests', '--with-xunit',
|
||||||
|
'--with-xcoverage', '--cover-package=elasticsearch', '--cover-erase',
|
||||||
'--logging-filter=elasticsearch', '--logging-level=DEBUG',
|
'--logging-filter=elasticsearch', '--logging-level=DEBUG',
|
||||||
'--verbose',
|
'--verbose',
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user