3 envlist = {py26,py27,py34,py35,py36},{py26,py27,py34,py35,py36}-{postgres,sqlite},{py27,py34}-flake8
5 # Base test environment settings
12 py2{6,7}: SQLObject>=2.2.1
13 py3{4,5,6}: SQLObject>=3.0.0
18 # Don't fail or warn on uninstalled commands
28 {envpython} -m pytest --cov=sqlconvert
29 mysql2sql demo/demo.sql test.out
30 cmp -s tests/mysql2sql/test.out test.out
34 commands = {[general]commands}
37 commands = {[general]commands}
40 commands = {[general]commands}
43 commands = {[general]commands}
46 commands = {[general]commands}
48 # PostgreSQL test environments
53 {envpython} -m pytest --cov=sqlconvert -D postgres:///test
56 [testenv:py26-postgres]
57 commands = {[postgresql]commands}
59 [testenv:py27-postgres]
60 commands = {[postgresql]commands}
62 [testenv:py34-postgres]
63 commands = {[postgresql]commands}
65 [testenv:py35-postgres]
66 commands = {[postgresql]commands}
68 [testenv:py36-postgres]
69 commands = {[postgresql]commands}
71 # SQLite test environments
74 {envpython} -m pytest --cov=sqlconvert -D sqlite:///tmp/test.sqdb
78 commands = {[sqlite]commands}
81 commands = {[sqlite]commands}
84 commands = {[sqlite]commands}
87 commands = {[sqlite]commands}
90 commands = {[sqlite]commands}