forked from sunscrapers/djet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (35 loc) · 834 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
38
39
40
41
[tox]
envlist =
{py27,py34,py35}-django110-drf37,
{py27,py34,py35,py36,py37}-django111-drf37,
py{35,36,37}-djangomaster-drf37
flake8
[travis:env]
DJANGO =
1.10: django110
1.11: django111
master: djangomaster
[testenv]
passenv = CI TRAVIS TRAVIS_*
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
django110: django>=1.10,<1.11
django111: django>=1.11,<2.0
djangomaster: git+git://github.com/django/django.git
drf37: djangorestframework>=3.7,<3.8
py27: mock
-rrequirements.txt
commands =
py.test --capture=no --cov-report term-missing --cov-report html --cov=djet testproject/
[testenv:flake8]
basepython = python3
skip_install = true
deps =
flake8
commands =
flake8 djet/ testproject/ setup.py