forked from Aristotle-Metadata-Enterprises/wcag-zoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
47 lines (44 loc) · 1.4 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]
skipsdist = True
envlist =
{py35,py36}-zoo-{windows,linux}
flake8
scripts-linux
docs-linux
dogfood
[testenv:docs-linux]
changedir= docs
commands=
sphinx-build -nW -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:dogfood]
deps =
-r{toxinidir}/requirements.txt
.
sphinx
commands=
sphinx-build -nW -b html -d {envtmpdir}/doctrees docs/. {envtmpdir}/html
/bin/bash -c 'LC_ALL=C.UTF-8 LANG=C.UTF-8 zookeeper parade {envtmpdir}/html/*.html --staticpath {envtmpdir}/html/ -AA -v1 -C headerlink'
/bin/bash -c 'LC_ALL=C.UTF-8 LANG=C.UTF-8 zookeeper parade {envtmpdir}/html/development/*.html --staticpath {envtmpdir}/html/development/ -AA -v1 -C headerlink'
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
platform =
windows: win32
linux: linux
passenv =
LC_ALL
LANG
deps =
-r{toxinidir}/requirements.txt
.
docs: sphinx
flake8: flake8>=2.0,<3.0
windows: pypiwin32
zoo: coverage
commands =
flake8: flake8
scripts: {toxinidir}/docs/run_demo_scripts.sh
; scripts: zookeeper
; scripts: /bin/bash -c 'node {toxinidir}/docs/development/scripts/node_wcag.js'
zoo-linux: coverage run --branch --parallel-mode --source=wcag_zoo wcag_zoo/testrunner.py {toxinidir}/tests/html/
zoo-windows: coverage run --branch --parallel-mode --source=wcag_zoo wcag_zoo/testrunner.py ./tests/html/anteater-alt-tags.html