2019-05-15 21:45:39 +03:00
|
|
|
[tox]
|
|
|
|
skipsdist=True
|
2019-05-24 15:47:31 +03:00
|
|
|
envlist=py37,flake8,doclint
|
2019-05-15 21:45:39 +03:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
whitelist_externals=
|
|
|
|
pytest
|
|
|
|
passenv=TRAVIS_EVENT_TYPE
|
|
|
|
setenv=
|
|
|
|
ADR_CONFIG_PATH=test/config.toml
|
|
|
|
commands=pytest -vv -rfx --tb=short {posargs}
|
|
|
|
|
|
|
|
[testenv:integration]
|
|
|
|
whitelist_externals=
|
|
|
|
pytest
|
|
|
|
setenv=
|
|
|
|
TRAVIS_EVENT_TYPE=cron
|
|
|
|
commands=pytest -vv -rfx --tb=short test/test_recipes_integration.py
|
|
|
|
|
|
|
|
[testenv:flake8]
|
|
|
|
whitelist_externals=
|
|
|
|
flake8
|
|
|
|
commands=flake8 recipes test
|
|
|
|
|
|
|
|
[testenv:doclint]
|
|
|
|
# TODO figure out why doclint doesn't pick these up from the virtualenv
|
|
|
|
deps=
|
|
|
|
adr
|
|
|
|
appdirs
|
|
|
|
docutils
|
|
|
|
cachy
|
2019-05-30 17:30:58 +03:00
|
|
|
icecream
|
|
|
|
loguru
|
2019-05-15 21:45:39 +03:00
|
|
|
json-e
|
2019-12-02 18:08:27 +03:00
|
|
|
mozci
|
2019-05-15 21:45:39 +03:00
|
|
|
orderedset
|
|
|
|
pyyaml
|
|
|
|
requests
|
|
|
|
terminaltables
|
2019-12-02 18:08:27 +03:00
|
|
|
tqdm
|
2019-05-15 21:45:39 +03:00
|
|
|
tomlkit
|
|
|
|
passenv=PYTHONPATH
|
|
|
|
commands=./doclint
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 100
|
|
|
|
import-order-style = pycharm
|
2019-05-30 17:30:58 +03:00
|
|
|
application-import-names = ci_info, recipes
|