forked from web2py/pydal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
28 lines (27 loc) · 932 Bytes
/
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
[tox]
envlist = {py26,py27,pypy}-{sqlite,mongo,imap,postgresPG8000,mysql}, {py26,py27}-{postgres,postgres2}, py27-google
[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
postgres2: DB=postgres2:psycopg2://postgres:@localhost/pydal
google: DB=google:datastore
mongo: DB=mongodb://localhost/pydal
imap: DB=imap://imap:imap@localhost:993
deps =
py26: unittest2
mysql: pymysql
postgres: psycopg2
postgres2: psycopg2
postgresPG8000: pg8000
google: pyyaml
mongo: pymongo
coverage: coverage
commands =
py26: {envpython} -m unittest2.__main__ -v tests
py27,pypy: {envpython} -m unittest -v tests
coverage: coverage erase
coverage: coverage run -m unittest -v tests
coverage: coverage combine