]> git.phdru.name Git - mimedecode.git/blob - tox.ini
Tests: Install ~/.mime.types for tests if the current user doesn't have it
[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 envlist = py27, py33, py34, py35, py36, pypy
8
9 [testenv]
10 basepython =
11     py27: {env:TOXPYTHON:python2.7}
12     py33: {env:TOXPYTHON:python3.3}
13     py34: {env:TOXPYTHON:python3.4}
14     py35: {env:TOXPYTHON:python3.5}
15     py36: {env:TOXPYTHON:python3.6}
16     pypy: {env:TOXPYTHON:pypy}
17 deps =
18     -rdevscripts/requirements/requirements_tests.txt
19 changedir = test
20 commands =
21     {envpython} --version
22     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
23     ./test_all
24 passenv = HOME