Added tox.ini to runtests on multiple python envs
Also updated python setup.py test to run in CI configuration
This commit is contained in:
@@ -5,3 +5,7 @@
|
||||
test_elasticsearch/cover
|
||||
docs/_build
|
||||
elasticsearch.egg-info
|
||||
.tox
|
||||
*.egg
|
||||
coverage.xml
|
||||
nosetests.xml
|
||||
|
||||
@@ -21,6 +21,8 @@ tests_require = [
|
||||
'nose',
|
||||
'coverage',
|
||||
'mock',
|
||||
'pyaml',
|
||||
'nosexcover'
|
||||
]
|
||||
|
||||
# use external unittest for 2.6
|
||||
|
||||
@@ -9,8 +9,8 @@ def run_all(argv=None):
|
||||
# always insert coverage when running tests
|
||||
if argv is None:
|
||||
argv = [
|
||||
'nosetests',
|
||||
'--with-coverage', '--cover-package=elasticsearch', '--cover-erase',
|
||||
'nosetests', '--with-xunit',
|
||||
'--with-xcoverage', '--cover-package=elasticsearch', '--cover-erase',
|
||||
'--nocapture', '--nologcapture',
|
||||
'--verbose',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user