]> git.phdru.name Git - m_librarian.git/blob - tox.ini
Use m_lib.defenc instead of m_lib; install it from PyPI
[m_librarian.git] / tox.ini
1 [tox]
2 minversion = 1.8
3 toxworkdir={homedir}/.tox/m_librarian
4 envlist = {py26,py27,py34},{py27,py34}-flake8
5
6 # Base test environment settings
7 [testenv]
8 deps =
9     pytest
10     pytest-cov
11     py26: argparse
12     py26,py27: SQLObject>=2.2.1
13     py34: SQLObject>=3.0.0
14     m_lib.defenc>=1.0
15 sitepackages = True
16 # Don't fail or warn on uninstalled commands
17 whitelist_externals =
18     flake8
19
20 [general]
21 commands =
22     python -m pytest --cov=m_librarian
23
24 [testenv:py26]
25 commands = {[general]commands}
26
27 [testenv:py27]
28 commands = {[general]commands}
29
30 [testenv:py34]
31 commands = {[general]commands}
32
33 [testenv:py27-flake8]
34 deps =
35     flake8
36 commands = flake8
37
38 [testenv:py34-flake8]
39 deps =
40     flake8
41 commands = flake8