]> git.phdru.name Git - ppu.git/blob - tox.ini
Python: 2.6, 2.7 and 3.3+
[ppu.git] / tox.ini
1 [tox]
2 minversion = 1.8
3 toxworkdir={homedir}/.tox/remove-old-files
4 envlist = {py26,py27,py33,py34,py35,py36},{py27,py34}-flake8
5
6 # Base test environment settings
7 [testenv]
8 deps =
9     pytest
10     pytest-cov
11     py26: argparse
12 # Don't fail or warn on uninstalled commands
13 whitelist_externals =
14     flake8
15
16 [general]
17 commands =
18     python -m pytest
19
20 [testenv:py26]
21 commands = {[general]commands}
22
23 [testenv:py27]
24 commands = {[general]commands}
25
26 [testenv:py34]
27 commands = {[general]commands}
28
29 [testenv:py27-flake8]
30 deps =
31     flake8
32 commands = flake8
33
34 [testenv:py34-flake8]
35 deps =
36     flake8
37 commands = flake8