forked from redhat-cop/agnosticd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
24 lines (22 loc) · 688 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
[tox]
minversion=2.3.1
envlist =
py{27,35}-{flake8,pylint,unit}
py27-{yamllint,ansible_syntax,generate_validation}
skipsdist=True
skip_missing_interpreters=True
[testenv]
skip_install=True
setenv = TOX_ANSIBLE_INV_PATH = {toxinidir}/tests/tox-inventory.txt
deps =
-rrequirements.txt
-rtest-requirements.txt
py35-flake8: flake8-bugbear==17.3.0
commands =
unit: - pytest {posargs}
flake8: - flake8 {posargs}
pylint: - python setup.py lint
yamllint: - python setup.py yamllint -e .tox
generate_validation: - python setup.py generate_validation
ansible_syntax: {toxinidir}/tests/syntax-check.sh
ansible_syntax: python setup.py ansible_syntax