-
Notifications
You must be signed in to change notification settings - Fork 62
/
tox.ini
44 lines (39 loc) · 1022 Bytes
/
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
[tox]
min_version = 4.4.11
envlist = docs,lint,py27,py35,py36,py37,py38,pypy,pypy3,jy27
[testenv]
deps =
-r{toxinidir}/requirements/test.txt
changedir = {envtmpdir}
setenv =
COLUMNS=80
commands =
coverage run --rcfile={toxinidir}/.coveragerc --parallel -m unittest discover {toxinidir}/tests
ln -sf {toxinidir}/samples
env LANG=C {toxinidir}/bin/clitest --prefix 3 {toxinidir}/tests/cli_tests/hwp5proc.txt {toxinidir}/tests/cli_tests/hwp5odt.txt {toxinidir}/tests/cli_tests/hwp5html.txt {toxinidir}/tests/cli_tests/hwp5txt.txt
allowlist_externals =
env
ln
[testenv:pypy]
deps =
-r{toxinidir}/requirements/test.txt
[testenv:jy27]
basepython = {toxinidir}/parts/jython2.7/bin/jython
deps =
-r{toxinidir}/requirements/test.txt
[testenv:docs]
changedir = {toxinidir}
deps =
-r{toxinidir}/requirements/docs.txt
whitelist_externals =
make
commands =
make -C docs html latexpdf
[testenv:lint]
changedir = {toxinidir}
deps =
-r{toxinidir}/requirements/lint.txt
commands =
check-manifest
pyroma .
flake8 pyhwp