-
-
Notifications
You must be signed in to change notification settings - Fork 457
/
tox.ini
47 lines (40 loc) · 1 KB
/
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
42
43
44
45
46
47
[tox]
envlist =
coverage-clean
py{27,36}-django{1.11}
coverage-report
[testenv]
basepython =
py27: python2.7
py33: python3.3
py34: python3.4
py35: python3.5
py36: python3.6
commands=
coverage run {envdir}/bin/django-admin.py test --mayan-apps --settings=mayan.settings.testing --skip-migrations
deps =
-rrequirements/testing-no-django.txt
django1.8: django>=1.8,<1.9
django1.9: django>=1.9,<1.10
django1.10: django>=1.10,<1.11
django1.11: django>=1.11,<1.12
django2.0: django>=2.0,<2.1
setenv=
COVERAGE_FILE=.coverage.tox.{envname}
PYTHONDONTWRITEBYTECODE=1
skipsdist=True
usedevelop=True
[testenv:coverage-clean]
basepython = python2.7
setenv =
COVERAGE_FILE=.coverage.tox
commands =
-python {envbindir}/coverage combine
-python {envbindir}/coverage erase
[testenv:coverage-report]
basepython = python2.7
setenv =
COVERAGE_FILE=.coverage.tox
commands =
-python {envbindir}/coverage combine
-python {envbindir}/coverage html