Migrate from testr to stestr
* Replace .testr.conf by .stestr.conf for migration and update
.gitignore and test-requirements.txt files accordingly
* Use py3 as the default runtime for tox and 3.18.0 as the
minversion for tox
Signed-off-by: HeroicHitesh <email.hiteshkumar@gmail.com>
Change-Id: If2662e223ad52c8cae965eb6bdf880c1dce962f2
diff --git a/tox.ini b/tox.ini
index 5aa6b38..07e3180 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
[tox]
-envlist = py37,pep8
-minversion = 3.1.1
+envlist = py3,pep8
+minversion = 3.18.0
skipsdist = True
ignore_basepython_conflict = True
@@ -10,8 +10,7 @@
setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
-commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi'
- testr run {posargs}
+commands = stestr run --slowest {posargs}
[testenv:pep8]
setenv =