diff --git a/tox.ini b/tox.ini index e4dadf41..638d703f 100644 --- a/tox.ini +++ b/tox.ini @@ -26,30 +26,17 @@ deps = commands = find {toxinidir} -type f -name "*.py[c|o]" -delete rm -Rf .testrepository/times.dbm - -[testenv:py27] -basepython = python2.7 -commands = - {[testenv]commands} - ostestr {posargs} - -[testenv:py35] -basepython = python3.5 -commands = - {[testenv]commands} ostestr {posargs} [testenv:cover] commands = - {[testenv]commands} coverage erase - python setup.py test --coverage --testr-args='{posargs}' --coverage-package-name=monasca_persister + python setup.py test --coverage --testr-args='{posargs}' \ + --coverage-package-name=monasca_persister coverage report [testenv:debug] -commands = - {[testenv]commands} - oslo_debug_helper -t monasca_persister/tests {posargs} +commands = oslo_debug_helper -t monasca_persister/tests {posargs} [testenv:pep8] deps = @@ -98,5 +85,6 @@ local-check-factory = monasca_persister.hacking.checks.factory basepython = python3 deps = -c{toxinidir}/lower-constraints.txt + .[influxdb,cassandra,elasticsearch] -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt