summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChris Jerdonek <chris.jerdonek@gmail.com>2012-04-24 03:24:42 -0700
committerChris Jerdonek <chris.jerdonek@gmail.com>2012-04-24 03:24:42 -0700
commitff36b627772bc37263093f2d01fb08e699472c75 (patch)
tree202ba34f34084bdbaf37709c3ae51d3868a3bde3 /tox.ini
parent9447214e6bd58376bf12c29b1d9e929a0f827d60 (diff)
downloadpystache-ff36b627772bc37263093f2d01fb08e699472c75.tar.gz
Test scripts now work with and without source.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini17
1 files changed, 14 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 72c5369..d1aef0d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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