-
Notifications
You must be signed in to change notification settings - Fork 156
/
tox.ini
35 lines (31 loc) · 680 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
[tox]
envlist = pep8,py27,py36
[testenv]
install_command = pip install {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
whitelist_externals = bash
commands = bash -ex {toxinidir}/functional/run.sh
[testenv:venv]
commands = {posargs}
[testenv:pep8]
install_command = pip install {opts} {packages}
setenv =
VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
deps = pycodestyle==2.5.0
commands =
pycodestyle --max-line-length=120 --statistics ansible
[testenv:docs]
setenv =
VIRTUAL_ENV={envdir}
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_ALL=C
commands =
./makedocs.sh