This repository was archived by the owner on Mar 24, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathtox.ini
More file actions
57 lines (51 loc) · 1.24 KB
/
Copy pathtox.ini
File metadata and controls
57 lines (51 loc) · 1.24 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[tox]
envlist =
py{27,34}-django18-drf{32,33,34},
py{27,34}-django19-drf{33,34},
py{27,34,35}-django110-drf34,
py{27,34,35}-djangomaster-drf34,
docs,
flake8,
coverage
[base]
deps =
pytz
dj_database_url
django-nose
django-extensions
mock
celery
[testenv:flake8]
deps =
flake8==3.0.4
pep257==0.7.0
flake8-docstrings==1.0.2
commands = flake8 drf_cached_instances
[testenv:docs]
changedir = docs
deps = Sphinx
commands = sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv]
whitelist_externals = make
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
djangomaster: https://github.com/django/django/archive/master.tar.gz
drf32: djangorestframework>=3.2,<3.3
drf33: djangorestframework>=3.3,<3.4
drf34: djangorestframework>=3.4,<3.5
{[base]deps}
commands = make test
[testenv:coverage]
whitelist_externals = sh
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
Django>=1.10,<1.11
djangorestframework>=3.4,<3.5
{[base]deps}
coverage
coveralls
commands =
python manage.py test --with-coverage --cover-erase --cover-tests --cover-branches --cover-package=drf_cached_instances
- coveralls