3 envlist = py{27,34,35,36,37},py{27,37}-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}
15 {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
17 -rdevscripts/requirements/requirements_tests.txt
18 passenv = CI TRAVIS TRAVIS_* APPVEYOR DISTUTILS_USE_SDK MSSdk INCLUDE LIB WINDIR
20 whitelist_externals = cmd.exe
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}
47 -rm.py -f C:/projects/m-librarian/test.sqdb
48 pytest --cov=m_librarian -D sqlite:/C:/projects/m-librarian/test.sqdb?debug=1
49 rm.py -f C:/projects/m-librarian/test.sqdb
51 [testenv:py27-sqlite-w32]
53 commands = {[sqlite-w32]commands}
55 [testenv:py34-sqlite-w32]
57 commands = {[sqlite-w32]commands}
59 [testenv:py35-sqlite-w32]
61 commands = {[sqlite-w32]commands}
63 [testenv:py36-sqlite-w32]
65 commands = {[sqlite-w32]commands}
67 [testenv:py37-sqlite-w32]
70 cmd /c "copy validators.py {envsitepackagesdir}\\formencode\\validators.py"
71 {[sqlite-w32]commands}