tox.ini
44 lines
| 1.1 KiB
| 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. | ||||
MinRK
|
r18351 | # Building the source distribution requires `invoke` and `lessc` to be on your PATH. | ||
# "pip install invoke" will install invoke. Less can be installed by | ||||
cel
|
r17665 | # node.js' (http://nodejs.org/) package manager npm: | ||
# "npm install -g less". | ||||
# Javascript tests need additional dependencies that can be installed | ||||
# using node.js' package manager npm: | ||||
# [*] casperjs: "npm install -g casperjs" | ||||
# [*] slimerjs: "npm install -g slimerjs" | ||||
# [*] phantomjs: "npm install -g phantomjs" | ||||
# Note: qt4 versions break some tests with tornado versions >=4.0. | ||||
Marc Abramowitz
|
r7631 | [tox] | ||
cel
|
r17665 | envlist = py27, py33, py34 | ||
Marc Abramowitz
|
r7631 | |||
[testenv] | ||||
cel
|
r17665 | deps = | ||
pyzmq | ||||
MinRK
|
r12325 | nose | ||
cel
|
r17665 | tornado<4.0 | ||
MinRK
|
r12325 | jinja2 | ||
sphinx | ||||
pygments | ||||
cel
|
r17665 | jsonpointer | ||
jsonschema | ||||
mistune | ||||
Takafumi Arakaki
|
r8877 | # 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 = | ||
cel
|
r17665 | iptest --all | ||
[testenv:py27] | ||||
deps= | ||||
mock | ||||
{[testenv]deps} | ||||