File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 1
1
[tox]
2
+ minversion =2.9.0
2
3
envlist = py{27,36},lint,docs
3
4
skipsdist = True
4
5
8
9
3.6: py36
9
10
10
11
[testenv]
12
+ description = run test suite for the application with {basepython}
11
13
setenv =
12
14
PYTHONPATH ={toxinidir}/readthedocs:{toxinidir}
13
15
DJANGO_SETTINGS_MODULE =readthedocs.settings.test
@@ -19,11 +21,13 @@ commands =
19
21
py.test {posargs}
20
22
21
23
[testenv:docs]
24
+ description = build readthedocs documentation
22
25
changedir = {toxinidir}/docs
23
26
commands =
24
27
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
25
28
26
29
[testenv:lint]
30
+ description = run linter (prospector) to ensure the source code corresponds to our coding standards
27
31
deps = -r{toxinidir}/requirements/lint.txt
28
32
commands =
29
33
prospector \
@@ -36,10 +40,12 @@ commands =
36
40
--die-on-tool-error {posargs}
37
41
38
42
[testenv:eslint]
43
+ description = run the JavaScript linter (requires gulp installed)
39
44
commands =
40
45
gulp lint
41
46
42
47
[testenv:coverage]
48
+ description = run test suite with code coverage for the application with {basepython}
43
49
deps =
44
50
-r{toxinidir}/requirements/testing.txt
45
51
pytest-cov
You can’t perform that action at this time.
0 commit comments