forked from noripyt/django-cachalot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (37 loc) · 1.16 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
32
33
34
35
36
37
38
[tox]
envlist =
py2.6-django1.6-{sqlite3,postgresql,mysql}-{locmem,redis,memcached},
py2.7-django1.7-{sqlite3,postgresql,mysql}-pylibmc,
py{2.7,3.2,3.3,3.4}-django1.7-{sqlite3,postgresql,mysql}-filebased,
py{2.7,3.2,3.3,3.4}-django{1.6,1.7}-{sqlite3,postgresql,mysql}-{locmem,redis,memcached},
[testenv]
basepython =
py2.6: python2.6
py2.7: python2.7
py3.2: python3.2
py3.3: python3.3
py3.4: python3.4
deps =
coverage
django1.6: Django>=1.6,<1.7
django1.7: Django>=1.7,<1.8
South
psycopg2
django-redis
py2.6: unittest2
py{2.6,2.7}: MySQL-python
py{2.6,2.7}: python-memcached
py{2.6,2.7}: pylibmc
py{3.2,3.3,3.4}: https://github.com/clelland/MySQL-for-Python-3/tarball/master
py{3.2,3.3,3.4}: python3-memcached
setenv =
sqlite3: DB_ENGINE=sqlite3
postgresql: DB_ENGINE=postgresql
mysql: DB_ENGINE=mysql
locmem: CACHE_BACKEND=locmem
filebased: CACHE_BACKEND=filebased
redis: CACHE_BACKEND=redis
memcached: CACHE_BACKEND=memcached
pylibmc: CACHE_BACKEND=pylibmc
commands =
coverage run -a --source=cachalot ./runtests.py