forked from JBKahn/django-sharding
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (30 loc) · 742 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
29
30
31
[tox]
envlist =
py27-dj{18,19,110,111,dev}
py34-dj{18,19,110,111,dev}
py35-dj{18,19,110,111,dev}
[testenv]
passenv=
DATABASE_URL
SHARD_001_DATABASE_URL
SHARD_002_DATABASE_URL
SHARD_003_DATABASE_URL
SHARD_004_DATABASE_URL
REPLICA_001_DATABASE_URL
REPLICA_002_DATABASE_URL
TRAVIS
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
deps =
coverage
-r{toxinidir}/requirements/_without_django.txt
-r{toxinidir}/requirements/development.txt
dj18: Django>=1.8,<1.9
dj19: Django>=1.9,<1.10
dj110: Django>=1.10,<1.11
dj111: Django>=1.11,<1.12
djdev: https://github.com/django/django/archive/master.tar.gz
commands=
coverage run --source=django_sharding,django_sharding_library -a setup.py test