]> git.phdru.name Git - mimedecode.git/blob - tox.ini
Build: Require tox >= 2.0 (for passenv)
[mimedecode.git] / tox.ini
1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
5
6 [tox]
7 minversion = 2.0
8 envlist = py27, py33, py34, py35, py36, pypy
9
10 [testenv]
11 basepython =
12     py27: {env:TOXPYTHON:python2.7}
13     py33: {env:TOXPYTHON:python3.3}
14     py34: {env:TOXPYTHON:python3.4}
15     py35: {env:TOXPYTHON:python3.5}
16     py36: {env:TOXPYTHON:python3.6}
17     pypy: {env:TOXPYTHON:pypy}
18 deps =
19     -rdevscripts/requirements/requirements_tests.txt
20 changedir = test
21 commands =
22     {envpython} --version
23     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
24     ./test_all
25 passenv = HOME