# 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,pypy

[testenv]
commands=py.test -s --junitxml=mio-lang-{envname}.xml tests
deps = 
    pytest-cov
    pytest

[testenv:docs]
basepython=python
changedir=docs
deps=
    sphinx
    pytest
commands=py.test --tb=line -v --junitxml=mio-lang-docs-{envname}.xml check_docs.py
