forked from web2py/pydal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (30 loc) · 1.13 KB
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[tox]
envlist = {py27,pypy,pypy3,py33,py34,py35,py36}-{sqlite,mongo,postgresPG8000,postgres3PG8000,mysql}, {py27,py33,py34}-{postgres,postgres3}, py27-{google,mssql}
[testenv]
setenv =
sqlite: DB=sqlite:///tmp/storage.sqlite
mysql: DB=mysql://root:@localhost/pydal
postgres: DB=postgres://postgres:@localhost/pydal
postgresPG8000: DB=postgres:pg8000://postgres:@localhost/pydal
postgres3: DB=postgres3:psycopg2://postgres:@localhost/pydal
postgres3PG8000: DB=postgres3:pg8000://postgres:@localhost/pydal
google: DB=google:datastore
mongo: DB=mongodb://localhost/pydal
mssql: DB=mssql4://sa:Password12!@(local)\SQL2014/pydal
mssqln: DB=mssql4n://sa:Password12!@(local)\SQL2014/pydal
deps =
mysql: pymysql
postgres: psycopg2
postgres3: psycopg2
postgresPG8000: pg8000
postgres3PG8000: pg8000
google: pyyaml
mongo: pymongo
mssql: pypyodbc
mssqln: pypyodbc
coverage: coverage
commands =
py27,pypy,pypy3,py33,py34,py35,py36: {envpython} -m unittest -v -f tests
coverage: coverage erase
coverage: coverage run -m unittest -v -f tests
coverage: coverage combine