Show More
@@ -1,25 +1,54 b'' | |||
|
1 | 1 | # Tox (http://tox.testrun.org/) is a tool for running tests |
|
2 | 2 | # in multiple virtualenvs. This configuration file will run the |
|
3 | 3 | # test suite on all supported python versions. To use it, "pip install tox" |
|
4 | 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 | 21 | [tox] |
|
7 | envlist = py27, py33 | |
|
22 | envlist = py27, py33, py34 | |
|
8 | 23 | |
|
9 | 24 | [testenv] |
|
10 |
deps = |
|
|
25 | deps = | |
|
26 | pyzmq | |
|
11 | 27 | nose |
|
12 | mock | |
|
13 | tornado | |
|
28 | tornado<4.0 | |
|
14 | 29 | jinja2 |
|
30 | docutils | |
|
31 | markupsafe | |
|
15 | 32 | sphinx |
|
16 | 33 | pygments |
|
34 | cython | |
|
35 | jsonpointer | |
|
36 | jsonschema | |
|
37 | matplotlib | |
|
38 | mistune | |
|
39 | numpy | |
|
40 | pymongo | |
|
41 | requests | |
|
42 | pyside | |
|
43 | ||
|
17 | 44 | # To avoid loading IPython module in the current directory, change |
|
18 | 45 | # current directory to ".tox/py*/tmp" before running test. |
|
19 | 46 | changedir = {envtmpdir} |
|
20 | 47 | |
|
21 | 48 | commands = |
|
22 | # As pip does not treat egg, use easy_install to install PyZMQ. | |
|
23 | # See also: https://github.com/zeromq/pyzmq | |
|
24 | easy_install -q pyzmq | |
|
25 | iptest --all | |
|
49 | iptest --all | |
|
50 | ||
|
51 | [testenv:py27] | |
|
52 | deps= | |
|
53 | mock | |
|
54 | {[testenv]deps} |
General Comments 0
You need to be logged in to leave comments.
Login now