From d19f5dc7aa7c62bf21eabc0426af6463bcd2fc8d Mon Sep 17 00:00:00 2001 From: Peter Stachowski Date: Tue, 23 Aug 2016 21:51:54 +0000 Subject: [PATCH] Add tox entry for py35 tests Added an entry for the py35 tests. Put the default values into a py3base entry and referred to them from both py34 and py35. Change-Id: Ibd9e77c24f56e7886459fce00a4ed33b3e9e1011 --- tox.ini | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index e7feebf214..7a1edc9f25 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py34,py27,pep8,checkbuild,checklinks +envlist = py35,py34,py27,pep8,checkbuild,checklinks minversion = 1.6 skipsdist = True @@ -26,11 +26,20 @@ commands = bash -c "find trove -type f -regex '.*\.pot?' -print0 | \ xargs -0 -n 1 msgfmt --check-format -o /dev/null" -[testenv:py34] +[py3base] commands = rm -f .testrepository/times.dbm + find ./trove -type f -name "*.pyc" -delete ostestr --blacklist_file=blacklist-py3.txt --serial whitelist_externals = rm + find +[testenv:py34] +commands = {[py3base]commands} +whitelist_externals = {[py3base]whitelist_externals} + +[testenv:py35] +commands = {[py3base]commands} +whitelist_externals = {[py3base]whitelist_externals} [testenv:debug] commands = oslo_debug_helper {posargs}