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
21 whitelist_externals = cmd.exe
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}
51 -rm.py -f C:/projects/m-librarian/test.sqdb
52 pytest --cov=m_librarian -D sqlite:/C:/projects/m-librarian/test.sqdb?debug=1
53 rm.py -f C:/projects/m-librarian/test.sqdb
55 [testenv:py27-sqlite-w32]
57 commands = {[sqlite-w32]commands}
59 [testenv:py34-sqlite-w32]
61 commands = {[sqlite-w32]commands}
63 [testenv:py35-sqlite-w32]
65 commands = {[sqlite-w32]commands}
67 [testenv:py36-sqlite-w32]
69 commands = {[sqlite-w32]commands}
71 [testenv:py37-sqlite-w32]
74 cmd /c "copy devscripts\\CI\\validators.py {envsitepackagesdir}\\formencode\\validators.py"
75 {[sqlite-w32]commands}
77 [testenv:py38-sqlite-w32]
80 {[sqlite-w32]commands}