forked from citynetwork/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
55 lines (47 loc) · 1.07 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
[tox]
envlist = yamllint,build
[testenv]
envdir = {toxworkdir}/mkdocs
skip_install = True
deps =
mkdocs
mkdocs-htmlproofer-plugin
mkdocs-git-authors-plugin
mkdocs-git-revision-date-localized-plugin
mkdocs-macros-plugin
mkdocs-material
commands =
mkdocs {posargs}
[testenv:mkdocs]
[testenv:serve]
commands =
mkdocs serve
[testenv:test-theme]
deps =
{[testenv]deps}
mkdocs-{posargs}
commands =
mkdocs serve -t {posargs}
[testenv:build]
commands =
mkdocs build --strict
[testenv:gitlint]
envdir = {toxworkdir}/gitlint
deps = gitlint
commands = gitlint {posargs}
[testenv:yamllint]
envdir = {toxworkdir}/yamllint
deps = yamllint
commands = yamllint {toxinidir}
[testenv:bumpversion]
envdir = {toxworkdir}/bumpversion
passenv =
# Git can only find its global configuration if it knows where the
# user's HOME is.
HOME
# If we set sign_tags in .bumpversion.cfg, we need to pass in the
# GnuPG agent reference to avoid having to retype the passphrase for
# an already-cached private key.
GPG_AGENT_INFO
deps = bump2version
commands = bump2version {posargs}