]> git.phdru.name Git - m_librarian.git/blob - tox.ini
Stop supporting Python 2.6
[m_librarian.git] / tox.ini
1 [tox]
2 minversion = 1.8
3 toxworkdir={homedir}/.tox/m_librarian
4 envlist = {py27,py34},{py27,py34}-flake8
5
6 # Base test environment settings
7 [testenv]
8 deps =
9     -rdevscripts/requirements/requirements_tests.txt
10 sitepackages = True
11 # Don't fail or warn on uninstalled commands
12 whitelist_externals =
13     flake8
14
15 [general]
16 commands =
17     python -m pytest --cov=m_librarian
18
19 [testenv:py27]
20 commands = {[general]commands}
21
22 [testenv:py34]
23 commands = {[general]commands}
24
25 [testenv:py27-flake8]
26 deps =
27     flake8
28 commands = flake8
29
30 [testenv:py34-flake8]
31 deps =
32     flake8
33 commands = flake8