tox: run tests using python 3

This commit is contained in:
Frédéric Péters 2020-09-09 08:07:41 +02:00
parent 2cecdd27fb
commit 4346356148
1 changed files with 1 additions and 3 deletions

View File

@ -1,10 +1,9 @@
[tox]
toxworkdir = {env:TMPDIR:/tmp}/tox-{env:USER}/passerelle-reunion-unicite/{env:BRANCH_NAME:}
envlist = py2-django111
envlist = py3-django111
[testenv]
usedevelop = True
basepython = python2
setenv =
DJANGO_SETTINGS_MODULE=passerelle.settings
PASSERELLE_SETTINGS_FILE=tests/settings.py
@ -15,6 +14,5 @@ deps =
psycopg2-binary
pytest
pytest-django
xmlschema<1.1
commands =
django111: py.test {posargs: --junitxml=junit-{envname}.xml tests/}