3 envlist = py27,py3{4,5,6,7,8},py{27,38}-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}
16 {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
18 -rdevscripts/requirements/requirements_tests.txt
19 passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
25 -rm.py -f /tmp/test.sqdb
26 {envpython} -m pytest --cov=m_librarian -D sqlite:///tmp/test.sqdb
29 commands = {[general]commands}
32 commands = {[general]commands}
35 commands = {[general]commands}
38 commands = {[general]commands}
41 commands = {[general]commands}
44 commands = {[general]commands}
50 -rm.py -f C:/projects/m-librarian/test.sqdb
51 pytest --cov=m_librarian -D sqlite:/C:/projects/m-librarian/test.sqdb?debug=1
52 rm.py -f C:/projects/m-librarian/test.sqdb
54 [testenv:py27-sqlite-w32]
56 commands = {[sqlite-w32]commands}
58 [testenv:py34-sqlite-w32]
60 commands = {[sqlite-w32]commands}
62 [testenv:py35-sqlite-w32]
64 commands = {[sqlite-w32]commands}
66 [testenv:py36-sqlite-w32]
68 commands = {[sqlite-w32]commands}
70 [testenv:py37-sqlite-w32]
73 {[sqlite-w32]commands}
75 [testenv:py38-sqlite-w32]
78 {[sqlite-w32]commands}