Show More
@@ -3,23 +3,44 | |||||
3 | # test suite on all supported python versions. To use it, "pip install tox" |
|
3 | # test suite on all supported python versions. To use it, "pip install tox" | |
4 | # and then run "tox" from this directory. |
|
4 | # and then run "tox" from this directory. | |
5 |
|
5 | |||
|
6 | # Building the source distribution requires both fabric's fab binary | |||
|
7 | # (http://www.fabfile.org/) and the lessc binary of the css preprocessor | |||
|
8 | # less (http://lesscss.org/) in the PATH. | |||
|
9 | # "pip install fabric" will install fabric. Less can be installed by | |||
|
10 | # node.js' (http://nodejs.org/) package manager npm: | |||
|
11 | # "npm install -g less". | |||
|
12 | ||||
|
13 | # Javascript tests need additional dependencies that can be installed | |||
|
14 | # using node.js' package manager npm: | |||
|
15 | # [*] casperjs: "npm install -g casperjs" | |||
|
16 | # [*] slimerjs: "npm install -g slimerjs" | |||
|
17 | # [*] phantomjs: "npm install -g phantomjs" | |||
|
18 | ||||
|
19 | # Note: qt4 versions break some tests with tornado versions >=4.0. | |||
|
20 | ||||
6 | [tox] |
|
21 | [tox] | |
7 | envlist = py27, py33 |
|
22 | envlist = py27, py33, py34 | |
8 |
|
23 | |||
9 | [testenv] |
|
24 | [testenv] | |
10 |
deps = |
|
25 | deps = | |
|
26 | pyzmq | |||
11 | nose |
|
27 | nose | |
12 | mock |
|
28 | tornado<4.0 | |
13 | tornado |
|
|||
14 | jinja2 |
|
29 | jinja2 | |
15 | sphinx |
|
30 | sphinx | |
16 | pygments |
|
31 | pygments | |
|
32 | jsonpointer | |||
|
33 | jsonschema | |||
|
34 | mistune | |||
|
35 | ||||
17 | # To avoid loading IPython module in the current directory, change |
|
36 | # To avoid loading IPython module in the current directory, change | |
18 | # current directory to ".tox/py*/tmp" before running test. |
|
37 | # current directory to ".tox/py*/tmp" before running test. | |
19 | changedir = {envtmpdir} |
|
38 | changedir = {envtmpdir} | |
20 |
|
39 | |||
21 | commands = |
|
40 | commands = | |
22 | # As pip does not treat egg, use easy_install to install PyZMQ. |
|
41 | iptest --all | |
23 | # See also: https://github.com/zeromq/pyzmq |
|
42 | ||
24 | easy_install -q pyzmq |
|
43 | [testenv:py27] | |
25 | iptest --all |
|
44 | deps= | |
|
45 | mock | |||
|
46 | {[testenv]deps} |
General Comments 0
You need to be logged in to leave comments.
Login now