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
This commit is contained in:
Peter Stachowski 2016-08-23 21:51:54 +00:00
parent 2514c53f14
commit d19f5dc7aa
1 changed files with 11 additions and 2 deletions

13
tox.ini
View File

@ -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}