dataCreating/tox.ini

54 lines
1.1 KiB
INI

[tox]
envlist = devenv
minversion = 1.6
skipsdist = False
[testenv]
install_command = pip install --force-reinstall -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
NOSE_COVER_BRANCHES=1
deps =
-r{toxinidir}/requirements.txt
[testenv:devenv]
envdir = devenv
basepython = python3.8
usedevelop = True
[testenv:devenv2]
envdir = devenv2
basepython = python2.7
usedevelop = True
[testenv:py38-release]
basepython = python3.8
deps =
-r{toxinidir}/requirements.txt
commands =
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir}
[testenv:py310-release]
basepython = python3.10
deps =
-r{toxinidir}/requirements.txt
commands =
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/dataCreating_v1.0.0 {toxinidir}
[testenv:py27-release]
basepython = python2.7
deps =
-r{toxinidir}/requirements.txt
commands =
{envpython} {toxinidir}/release.py {envdir} {envsitepackagesdir} {toxinidir}/build/excel2feature {toxinidir}