blob: bc858eddb5dcbd24626e8d7be67f0a250817ef17 [file] [log] [blame]
# Tox ( 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.
envlist = py26, py27, py32, py33, py34, py35, pypy, pypy3, coverage, pep8
commands = py.test
deps = pytest
commands = py.test --doctest-glob=README.rst # test documentation
deps = pytest
# pep8 disabled for E701 (multiple statements on one line) and E126 (continuation line over-indented for hanging indent)
commands = flake8 --max-line-length=90 --show-source -v --count --ignore=E701,E126
deps = flake8
#TODO: how to force this on py27?
commands = coverage erase
py.test --doctest-glob=README.rst --cov schema
coverage report -m
deps = pytest