]> git.phdru.name Git - cookiecutter.git/blob - project_template/tox.ini
Execute mk-git-aliases
[cookiecutter.git] / project_template / tox.ini
1 [tox]
2 minversion = 1.8
3 toxworkdir={homedir}/.tox/{project}
4 envlist = {py26,py27,py33,py34,py35,py36},{py27,py36}-flake8
5
6 # Base test environment settings
7 [testenv]
8 deps =
9     pytest
10     pytest-cov
11     py26: argparse
12     py26,py27: m_lib>=2.0
13     py34: m_lib>=3.0
14 sitepackages = True
15 # Don't fail or warn on uninstalled commands
16 whitelist_externals =
17     flake8
18
19 [general]
20 commands =
21     python -m pytest --cov={project}
22
23 [testenv:py26]
24 commands = {[general]commands}
25
26 [testenv:py27]
27 commands = {[general]commands}
28
29 [testenv:py34]
30 commands = {[general]commands}
31
32 [testenv:py27-flake8]
33 deps =
34     flake8
35 commands = flake8
36
37 [testenv:py34-flake8]
38 deps =
39     flake8
40 commands = flake8