]> git.phdru.name Git - ppu.git/blob - tox.ini
Add cmp.py
[ppu.git] / tox.ini
1 [tox]
2 minversion = 1.8
3 envlist = {py26,py27,py33,py34,py35,py36},{py27,py34}-flake8
4
5 # Base test environment settings
6 [testenv]
7 basepython =
8     py26: {env:TOXPYTHON:python2.6}
9     py27: {env:TOXPYTHON:python2.7}
10     py33: {env:TOXPYTHON:python3.3}
11     py34: {env:TOXPYTHON:python3.4}
12     py35: {env:TOXPYTHON:python3.5}
13     py36: {env:TOXPYTHON:python3.6}
14 commands =
15     {envpython} --version
16     {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
17 deps =
18     pytest
19     pytest-cov
20     py26: argparse
21 # Don't fail or warn on uninstalled commands
22 whitelist_externals =
23     flake8
24
25 [general]
26 commands =
27     {envpython} -m pytest
28
29 [testenv:py26]
30 commands =
31     {[testenv]commands}
32     {[general]commands}
33
34 [testenv:py27]
35 commands =
36     {[testenv]commands}
37     {[general]commands}
38
39 [testenv:py33]
40 commands =
41     {[testenv]commands}
42     {[general]commands}
43
44 [testenv:py34]
45 commands =
46     {[testenv]commands}
47     {[general]commands}
48
49 [testenv:py35]
50 commands =
51     {[testenv]commands}
52     {[general]commands}
53
54 [testenv:py36]
55 commands =
56     {[testenv]commands}
57     {[general]commands}
58
59 [testenv:py27-flake8]
60 deps =
61     flake8
62 commands =
63     {[testenv]commands}
64     flake8
65
66 [testenv:py34-flake8]
67 deps =
68     flake8
69 commands =
70     {[testenv]commands}
71     flake8