diff options
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 17 |
1 files changed, 14 insertions, 3 deletions
@@ -3,7 +3,7 @@ # http://pypi.python.org/pypi/tox # [tox] -envlist = py24,py25,py26,py27,py27-yaml,py31,py32 +envlist = py24,py25,py26,py27,py27-yaml,py27-noargs,py31,py32 [testenv] # Change the working directory so that we don't import the pystache located @@ -11,13 +11,24 @@ envlist = py24,py25,py26,py27,py27-yaml,py31,py32 changedir = {envbindir} commands = - pystache-test {toxinidir} {toxinidir}/ext/spec/specs + pystache-test {toxinidir}/ext/spec/specs {toxinidir} # Check that the spec tests work with PyYAML. [testenv:py27-yaml] +basepython = + python2.7 deps = PyYAML changedir = {envbindir} commands = - pystache-test {toxinidir} {toxinidir}/ext/spec/specs + 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 |