-
Notifications
You must be signed in to change notification settings - Fork 2
/
tox.ini
37 lines (35 loc) · 971 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
32
33
34
35
36
37
[tox]
envlist =
django-{18,111}
[testenv]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands=
python --version
django-admin.py test django_example
setenv =
DJANGO_SETTINGS_MODULE=django_example.settings
PYTHONPATH={toxinidir}/example/:{toxinidir}/channels_jsonrpc/
deps =
{toxinidir}
django-18: Django==1.8.*
django-19: Django==1.9.*
django-110: Django==1.10.*
django-111: Django==1.11.*
channels==1.1.6
django-cors-headers==1.2.0
[testenv:coverage]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
commands =
python --version
coverage run --branch --include=*/channels_jsonrpc/*,example/django_example/* {envbindir}/django-admin.py test django_example
coverage report
#coveralls
setenv =
DJANGO_SETTINGS_MODULE=django_example.settings
PYTHONPATH={toxinidir}/example/:{toxinidir}/channels_jsonrpc/
deps =
{toxinidir}
coverage
coveralls
channels==1.1.6
django-cors-headers==1.2.0