mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
51503a1a67
--HG-- extra : rebase_source : 7a91182ca85dde748a14b03fa93ae85769691042 extra : source : b91e85b02d796db5de9a0e726a7c3360ea67b400
37 lines
848 B
INI
37 lines
848 B
INI
# A tox configuration file to test across multiple Python versions.
|
|
#
|
|
# http://pypi.python.org/pypi/tox
|
|
#
|
|
[tox]
|
|
# Tox 1.4 drops py24 and adds py33. In the current version, we want to
|
|
# support 2.4, so we can't simultaneously support 3.3.
|
|
envlist = py24,py25,py26,py27,py27-yaml,py27-noargs,py31,py32,pypy
|
|
|
|
[testenv]
|
|
# Change the working directory so that we don't import the pystache located
|
|
# in the original location.
|
|
changedir =
|
|
{envbindir}
|
|
commands =
|
|
pystache-test {toxinidir}
|
|
|
|
# Check that the spec tests work with PyYAML.
|
|
[testenv:py27-yaml]
|
|
basepython =
|
|
python2.7
|
|
deps =
|
|
PyYAML
|
|
changedir =
|
|
{envbindir}
|
|
commands =
|
|
pystache-test {toxinidir}
|
|
|
|
# Check that pystache-test works from an install with no arguments.
|
|
[testenv:py27-noargs]
|
|
basepython =
|
|
python2.7
|
|
changedir =
|
|
{envbindir}
|
|
commands =
|
|
pystache-test
|