forked from llazzaro/django-scheduler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
29 lines (27 loc) · 751 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
[tox]
envlist =
lint
py{27,34,35,36}-django111
py{34,35,36,37}-django20
py{35,36,37}-django21
py{35,36,37}-django22
py{36,37}-djangomaster
[testenv]
commands = {envpython} -Wa -b -m coverage run -m django test --settings=tests.settings
deps =
django111: Django>=1.11,<2.0
django20: Django>=2.0,<2.1
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
djangomaster: https://github.com/django/django/archive/master.tar.gz
coverage
[testenv:lint]
basepython = python3
commands =
flake8
isort --check-only --diff
{envpython} -m django check --settings=tests.settings
{envpython} -m django makemigrations --settings=tests.settings --no-input --dry-run --check
deps =
flake8
isort