]> git.phdru.name Git - m_librarian.git/blob - tox.ini
Add support for Python 3.5 and 3.6
[m_librarian.git] / tox.ini
1 [tox]
2 minversion = 1.8
3 toxworkdir={homedir}/.tox/m_librarian
4 envlist = {py27,py34,py35,py36},{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:py35]
26 commands = {[general]commands}
27
28 [testenv:py36]
29 commands = {[general]commands}
30
31 [testenv:py27-flake8]
32 deps =
33     flake8
34 commands = flake8
35
36 [testenv:py34-flake8]
37 deps =
38     flake8
39 commands = flake8