Show More
@@ -1,19 +1,26 b'' | |||||
1 | # Tox (http://tox.testrun.org/) is a tool for running tests |
|
1 | # Tox (http://tox.testrun.org/) is a tool for running tests | |
2 | # in multiple virtualenvs. This configuration file will run the |
|
2 | # in multiple virtualenvs. This configuration file will run the | |
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 | [tox] |
|
6 | [tox] | |
7 | envlist = py26, py27, py32 |
|
7 | envlist = py26, py27, py32 | |
8 |
|
8 | |||
9 | [testenv] |
|
9 | [testenv] | |
|
10 | deps = | |||
|
11 | nose | |||
|
12 | ||||
|
13 | # To avoid loading IPython module in the current directory, change | |||
|
14 | # current directory to ".tox/py*/tmp" before running test. | |||
|
15 | changedir = {envtmpdir} | |||
|
16 | ||||
10 | commands = |
|
17 | commands = | |
11 | pip install -q --use-mirrors nose |
|
18 | # As pip does not treat egg, use easy_install to install PyZMQ. | |
|
19 | # See also: https://github.com/zeromq/pyzmq | |||
12 | easy_install -q pyzmq |
|
20 | easy_install -q pyzmq | |
13 |
iptest |
|
21 | iptest [] | |
14 |
|
22 | |||
15 | [testenv:py32] |
|
23 | [testenv:py32] | |
16 | commands = |
|
24 | commands = | |
17 | pip install -q --use-mirrors nose |
|
|||
18 | easy_install -q pyzmq |
|
25 | easy_install -q pyzmq | |
19 |
iptest3 |
|
26 | iptest3 [] |
General Comments 0
You need to be logged in to leave comments.
Login now