tox.ini 767 Bytes
Newer Older
1 2 3 4 5
# A tox configuration file to test across multiple Python versions.
#
#   http://pypi.python.org/pypi/tox
#
[tox]
6
envlist = py24,py25,py26,py27,py27-yaml,py27-noargs,py31,py32
7 8

[testenv]
9 10
# Change the working directory so that we don't import the pystache located
# in the original location.
11 12
changedir =
    {envbindir}
13
commands =
14
	pystache-test {toxinidir}/ext/spec/specs {toxinidir}
15 16 17

# Check that the spec tests work with PyYAML.
[testenv:py27-yaml]
18 19
basepython =
    python2.7
20 21 22 23 24
deps =
    PyYAML
changedir =
    {envbindir}
commands =
25 26 27 28 29 30 31 32 33 34
    pystache-test {toxinidir}/ext/spec/specs {toxinidir}

# Check that pystache-test works from an install with no arguments.
[testenv:py27-noargs]
basepython =
    python2.7
changedir =
    {envbindir}
commands =
    pystache-test