forked from yahoo/invirtualenv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
61 lines (52 loc) · 1.11 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
59
60
[config]
package_dir = invirtualenv
package_name = invirtualenv
[tox]
skip_missing_interpreters = True
envlist = pycodestyle, pylint, py27, py35, py36, py37
[testenv]
deps =
pytest
pytest-cov
commands =
pytest --cov=invirtualenv --cov-report=xml:cobertura.xml --cov-report term-missing tests/
[testenv:pycodestyle]
basepython = python3
envdir = {toxworkdir}/linter
deps =
pycodestyle
commands = pycodestyle invirtualenv
[testenv:pylint]
basepython = python3
envdir = {toxworkdir}/linter
deps =
six
isort<4.3.0
pylint
commands =
pylint --output-format=parseable invirtualenv
[testenv:doc_build]
envdir = {toxworkdir}/build_docs
basepython = python3
deps =
sphinx
sphinx_rtd_theme
recommonmark
commands =
python setup.py build_sphinx
[testenv:freeze]
basepython = python3
envdir = {toxworkdir}/freeze
whitelist_externals =
cd
ls
tar
deps =
pyinstaller
commands =
pyinstaller --onefile {envdir}/bin/deploy_virtualenv
pyinstaller --onefile {envdir}/bin/create_package
tar -C dist -czf frozen_scripts.tar.gz deploy_virtualenv create_package
[pycodestyle]
ignore = E1,E2,E3,E4,E5,W293
max_line_length = 160