3 envlist = py27,py3{4,5,6,7,8,9},py{27,39}-flake8
5 # Base test environment settings
8 py27: {env:TOXPYTHON:python2.7}
9 py34: {env:TOXPYTHON:python3.4}
10 py35: {env:TOXPYTHON:python3.5}
11 py36: {env:TOXPYTHON:python3.6}
12 py37: {env:TOXPYTHON:python3.7}
13 py38: {env:TOXPYTHON:python3.8}
14 py39: {env:TOXPYTHON:python3.9}
17 {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
19 -rdevscripts/requirements/requirements_tests.txt
20 passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
26 -rm.py -f /tmp/test.sqdb
27 {envpython} -m pytest --cov=m_librarian -D sqlite:///tmp/test.sqdb
30 commands = {[general]commands}
33 commands = {[general]commands}
36 commands = {[general]commands}
39 commands = {[general]commands}
42 commands = {[general]commands}
45 commands = {[general]commands}
48 commands = {[general]commands}
54 -rm.py -f C:/projects/m-librarian/test.sqdb
55 pytest --cov=m_librarian -D sqlite:/C:/projects/m-librarian/test.sqdb?debug=1
56 rm.py -f C:/projects/m-librarian/test.sqdb
58 [testenv:py27-sqlite-w32]
60 commands = {[sqlite-w32]commands}
62 [testenv:py34-sqlite-w32]
64 commands = {[sqlite-w32]commands}
66 [testenv:py35-sqlite-w32]
68 commands = {[sqlite-w32]commands}
70 [testenv:py36-sqlite-w32]
72 commands = {[sqlite-w32]commands}
74 [testenv:py37-sqlite-w32]
77 {[sqlite-w32]commands}
79 [testenv:py38-sqlite-w32]
82 {[sqlite-w32]commands}
84 [testenv:py39-sqlite-w32]
87 {[sqlite-w32]commands}