forked from django-oscar/django-oscar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
38 lines (32 loc) · 785 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
[tox]
envlist = py{27,33,34,35}-django18,py{27,34,35}-django110,py{27,34,35,36}-django111,lint,sandbox
[testenv]
commands = coverage run --parallel -m pytest {posargs}
extras = test
pip_pre = true
deps =
-r{toxinidir}/requirements.txt
django18: django>=1.8,<1.9
django110: django>=1.10,<1.11
django111: django>=1.11,<1.12
[testenv:coverage-report]
basepython = python3.5
deps = coverage
skip_install = true
commands =
coverage combine
coverage report
[testenv:lint]
basepython = python3.5
deps = flake8
commands =
flake8 src tests setup.py
isort -q --recursive --diff src/ tests/
[testenv:sandbox]
basepython = python3.5
deps =
-r{toxinidir}/requirements.txt
django>=1.10,<1.11
whitelist_externals = make
commands =
make build_sandbox