3 envlist = {py26,py27,py34,py35,py36},{py26,py27,py34,py35,py36}-{postgres,sqlite},{py27,py34}-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}
14 {envpython} -c "import struct; print(struct.calcsize('P') * 8)"
20 py2{6,7}: SQLObject>=2.2.1
21 py3{4,5,6}: SQLObject>=3.0.0
27 # Don't fail or warn on uninstalled commands
36 {envpython} -m pytest --cov=sqlconvert
37 {envpython} {envbindir}/mysql2sql -P demo/demo.sql test.out
38 {envpython} {envbindir}/cmp.py -i tests/mysql2sql/test.out test.out
39 {envpython} {envbindir}/rm.py test.out
42 commands = {[general]commands}
45 commands = {[general]commands}
48 commands = {[general]commands}
51 commands = {[general]commands}
54 commands = {[general]commands}
56 # PostgreSQL test environments
62 {envpython} -m pytest --cov=sqlconvert -D postgres:///test
65 [testenv:py26-postgres]
66 commands = {[postgresql]commands}
68 [testenv:py27-postgres]
69 commands = {[postgresql]commands}
71 [testenv:py34-postgres]
72 commands = {[postgresql]commands}
74 [testenv:py35-postgres]
75 commands = {[postgresql]commands}
77 [testenv:py36-postgres]
78 commands = {[postgresql]commands}
80 # SQLite test environments
84 {envpython} -m pytest --cov=sqlconvert -D sqlite:///tmp/test.sqdb
85 {envpython} {envbindir}/rm.py /tmp/test.sqdb
88 commands = {[sqlite]commands}
91 commands = {[sqlite]commands}
94 commands = {[sqlite]commands}
97 commands = {[sqlite]commands}
100 commands = {[sqlite]commands}
103 [testenv:py27-flake8]
110 [testenv:py34-flake8]