tox: run tests using python 3
This commit is contained in:
parent
2cecdd27fb
commit
4346356148
4
tox.ini
4
tox.ini
|
@ -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/}
|
||||
|
|
Reference in New Issue