##// END OF EJS Templates
Backport PR #2686: Fix tox.ini...
Backport PR #2686: Fix tox.ini Prior to this patch, test for Python 3.2 failed. Also, arguments can be passed to iptest via tox command now. e.g.: `tox -- IPython.core` Probably it makes sense to change .travis.yml to something like: ``` language: python before_install: - pip install tox script: - tox ``` Or you can use `tox -e ...` to run the tests parallel for each Python version.

File last commit:

r9847:3e591290
r9847:3e591290
Show More
tox.ini
26 lines | 690 B | text/x-ini | IniLexer
# 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.
[tox]
envlist = py26, py27, py32
[testenv]
deps =
nose
# To avoid loading IPython module in the current directory, change
# current directory to ".tox/py*/tmp" before running test.
changedir = {envtmpdir}
commands =
# As pip does not treat egg, use easy_install to install PyZMQ.
# See also: https://github.com/zeromq/pyzmq
easy_install -q pyzmq
iptest []
[testenv:py32]
commands =
easy_install -q pyzmq
iptest3 []