-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathtox.ini
53 lines (45 loc) · 1019 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
45
46
47
48
49
50
51
52
53
[tox]
skipsdist=True
envlist = yamllint,flake8,py{27,36,37}-wrapper
skip_missing_interpreters=True
[flake8]
exclude = .git,.eggs,.tox,__pycache__,venv,build,dist
[testenv]
usedevelop = True
deps =
-r{toxinidir}/requirements.txt
py27: mock
[testenv:yamllint]
deps =
ansible
whitelist_externals =
bash
commands = bash -c "\
yamllint \
-c {toxinidir}/.yamllint \
{toxinidir}/"
[testenv:flake8]
deps =
flake8==3.5
pep8-naming==0.8.2
commands=
flake8 --statistics {posargs} .
[testenv:py27-wrapper]
commands = {toxinidir}/wrapper/tests/run_tests.sh
[testenv:py36-wrapper]
commands = {toxinidir}/wrapper/tests/run_tests.sh
[testenv:py37-wrapper]
commands = {toxinidir}/wrapper/tests/run_tests.sh
[testenv:ksvalidator]
deps =
pykickstart==3.7
ordered_set
requests
six
whitelist_externals =
bash
commands = bash -c "\
for ks in extras/conversion-vm/*.ks ; do \
ksvalidator --followincludes "$ks" ; \
done ; \
"