32 lines
694 B
INI
32 lines
694 B
INI
# Tox (http://tox.testrun.org/) is a tool for running tests
|
|
# in multiple virtualenvs. This configuration file will run the
|
|
# test suite on all supported python versions. To use it, "pip install tox"
|
|
# and then run "tox" from this directory.
|
|
|
|
[tox]
|
|
envlist = py27, py34, py35, py36, py37
|
|
skip_missing_interpreters = true
|
|
toxworkdir = {homedir}/.tox/elementpath
|
|
|
|
[testenv]
|
|
deps =
|
|
lxml
|
|
xmlschema~=1.0.9
|
|
commands = python -m unittest
|
|
|
|
[testenv:py27]
|
|
deps =
|
|
lxml
|
|
xmlschema~=1.0.9
|
|
commands = python tests/test_elementpath.py
|
|
|
|
[testenv:py37]
|
|
commands =
|
|
coverage run -p setup.py test -q
|
|
coverage combine
|
|
coverage report -m
|
|
deps =
|
|
lxml
|
|
xmlschema~=1.0.9
|
|
coverage
|