Show More
@@ -1,44 +1,28 b'' | |||
|
1 |
|
|
|
2 |
|
|
|
3 | # test suite on all supported python versions. To use it, "pip install tox" | |
|
4 | # and then run "tox" from this directory. | |
|
5 | ||
|
6 | # Building the source distribution requires `invoke` and `lessc` to be on your PATH. | |
|
7 | # "pip install invoke" will install invoke. Less can be installed by | |
|
8 | # node.js' (http://nodejs.org/) package manager npm: | |
|
9 | # "npm install -g less". | |
|
10 | ||
|
11 | # Javascript tests need additional dependencies that can be installed | |
|
12 | # using node.js' package manager npm: | |
|
13 | # [*] casperjs: "npm install -g casperjs" | |
|
14 | # [*] slimerjs: "npm install -g slimerjs" | |
|
15 | # [*] phantomjs: "npm install -g phantomjs" | |
|
16 | ||
|
17 | # Note: qt4 versions break some tests with tornado versions >=4.0. | |
|
1 | ; Tox (http://tox.testrun.org/) is a virtualenv manager for running tests in | |
|
2 | ; multiple environments. This configuration file gets the requirements from | |
|
3 | ; setup.py like a "pip install ipython[test]". To create the environments, it | |
|
4 | ; requires every interpreter available/installed. | |
|
5 | ; -- Commands -- | |
|
6 | ; pip install tox # Installs tox | |
|
7 | ; tox # Runs the tests (call from the directory with tox.ini) | |
|
8 | ; tox -r # Runs rebuilding virtual environments | |
|
9 | ; tox -e py35,pypy # Runs only in the selected environments | |
|
10 | ; tox -- --all -j # Runs "iptest --all -j" in every environment | |
|
18 | 11 | |
|
19 | 12 | [tox] |
|
20 | envlist = py27, py33, py34 | |
|
13 | envlist = py{36,35,34,33,27,py} | |
|
14 | skip_missing_interpreters = True | |
|
15 | toxworkdir = /tmp/tox_ipython | |
|
21 | 16 | |
|
22 | 17 | [testenv] |
|
18 | ; PyPy requires its Numpy fork instead of "pip install numpy" | |
|
19 | ; Other IPython/testing dependencies should be in setup.py, not here | |
|
23 | 20 | deps = |
|
24 | pyzmq | |
|
25 | nose | |
|
26 | tornado<4.0 | |
|
27 | jinja2 | |
|
28 | sphinx | |
|
29 | pygments | |
|
30 | jsonpointer | |
|
31 | jsonschema | |
|
32 | mistune | |
|
21 | pypy: https://bitbucket.org/pypy/numpy/get/master.zip | |
|
22 | py{36,35,34,33,27}: matplotlib | |
|
23 | .[test] | |
|
33 | 24 | |
|
34 |
|
|
|
35 | # current directory to ".tox/py*/tmp" before running test. | |
|
25 | ; It's just to avoid loading IPython module in the current directory | |
|
36 | 26 | changedir = {envtmpdir} |
|
37 | 27 | |
|
38 | commands = | |
|
39 | iptest --all | |
|
40 | ||
|
41 | [testenv:py27] | |
|
42 | deps= | |
|
43 | mock | |
|
44 | {[testenv]deps} | |
|
28 | commands = iptest {posargs} |
General Comments 0
You need to be logged in to leave comments.
Login now