2013-12-11 06:18:49 -05:00
|
|
|
[tox]
|
2016-10-04 15:52:15 +11:00
|
|
|
envlist = docs,linters
|
2013-12-11 06:18:49 -05:00
|
|
|
minversion = 1.6
|
|
|
|
skipsdist = True
|
|
|
|
|
|
|
|
[testenv]
|
2014-04-15 08:24:17 -04:00
|
|
|
usedevelop = True
|
2013-12-11 06:18:49 -05:00
|
|
|
install_command = pip install -U {opts} {packages}
|
|
|
|
setenv = VIRTUAL_ENV={envdir}
|
2014-04-15 08:24:17 -04:00
|
|
|
deps = -r{toxinidir}/test-requirements.txt
|
2013-12-11 06:18:49 -05:00
|
|
|
|
2016-10-04 15:52:15 +11:00
|
|
|
[testenv:linters]
|
2016-10-18 14:09:41 +11:00
|
|
|
whitelist_externals = bash
|
|
|
|
commands = bash -c "find {toxinidir} \
|
|
|
|
\( -name .tox -prune \) \
|
|
|
|
-o -type f -name '*.yaml' \
|
|
|
|
-print0 | xargs -0 yamllint"
|
2016-10-04 15:52:15 +11:00
|
|
|
{toxinidir}/tools/check_projects_yaml_alphabetized.sh
|
|
|
|
|
2013-12-11 06:18:49 -05:00
|
|
|
[testenv:venv]
|
|
|
|
commands = {posargs}
|
2014-04-15 08:24:17 -04:00
|
|
|
|
|
|
|
[testenv:docs]
|
|
|
|
commands = python setup.py build_sphinx
|
2015-12-20 15:16:49 -05:00
|
|
|
|
|
|
|
[testenv:validate]
|
|
|
|
commands = python tools/validate_tags.py
|