forked from web2py/pydal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
30 lines (29 loc) · 1.04 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
[tox]
envlist = {py27,pypy,pypy3,py33,py34,py35,py36}-{sqlite,mongo,mysql,oracle}, {py27,py33,py34}-{postgres,postgres3}, py27-{google,mssql}
[testenv]
passenv = ORACLE_HOME ORACLE_BASE LD_LIBRARY_PATH NLS_LANG ORACLE_SID
setenv =
sqlite: DB=sqlite:///tmp/storage.sqlite
mysql: DB=mysql://root:@localhost/pydal
postgres: DB=postgres://postgres:@localhost/pydal
postgres3: DB=postgres3:psycopg2://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
oracle: DB=oracle://TEST/TEST@XE
deps =
mysql: pymysql
postgres: psycopg2
postgres3: psycopg2
google: pyyaml
mongo: pymongo
mssql: pypyodbc
mssqln: pypyodbc
coverage: coverage
oracle: cx_Oracle
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