forked from edustaff/django-unused
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
58 lines (53 loc) · 1.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
48
49
50
51
52
53
54
55
56
57
58
[tox]
envlist = coverage-clean-{win,linux}, py{27,34,35,36}-django{18,19,110,111}-{win,linux}, coverage-report
;envlist = py{36}-django{111}-win
skipsdist = true
[testenv]
commands =
pip install -e .
linux: coverage run -a {envbindir}/py.test example
win: pytest example
; win: coverage run -a {envbindir}\pytest example
whitelist_externals =
coverage
pip
python
python3
pytest
platform=
linux: linux
win: win32
deps=
six==1.10.0
; cssselect==0.9.2
; pyquery==1.2.13
; pygments==2.1.3
pytest==3.0.5
pytest-django==3.1.2
tox==2.3.1
coverage==4.2
; django-sekizai==0.10
django18: Django==1.8.14
django19: Django==1.9.9
django110: Django==1.10.4
django111: Django==1.11.0
[testenv:coverage-clean-linux]
commands = rm -f .coverage
deps=
platform=linux: linux
whitelist_externals =
/bin/rm
coverage
[testenv:coverage-clean-win]
commands = cmd /c del /F .coverage
deps=
platform=win32
whitelist_externals =
cmd
del
coverage
[testenv:coverage-report]
commands = coverage report
deps=
whitelist_externals =
coverage