tox.ini
26 lines
| 690 B
| text/x-ini
|
IniLexer
Marc Abramowitz
|
r7631 | # 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 = py26, py27, py32 | ||||
[testenv] | ||||
Takafumi Arakaki
|
r8877 | deps = | ||
nose | ||||
# To avoid loading IPython module in the current directory, change | ||||
# current directory to ".tox/py*/tmp" before running test. | ||||
changedir = {envtmpdir} | ||||
Marc Abramowitz
|
r7631 | commands = | ||
Takafumi Arakaki
|
r8877 | # As pip does not treat egg, use easy_install to install PyZMQ. | ||
# See also: https://github.com/zeromq/pyzmq | ||||
Marc Abramowitz
|
r7631 | easy_install -q pyzmq | ||
Takafumi Arakaki
|
r8877 | iptest [] | ||
Marc Abramowitz
|
r7631 | |||
[testenv:py32] | ||||
commands = | ||||
easy_install -q pyzmq | ||||
Takafumi Arakaki
|
r8877 | iptest3 [] | ||