coats/tox.ini
Sorin Sbarnea 1838510f47 Initial commit
Contains FoxReplace config that augments open stack build logs,
making easier to spot errors in them.
2018-10-01 13:40:17 +01:00

37 lines
706 B
INI

[tox]
minversion = 2.3.1
envlist = linters
skip_missing_interpreters = true
[testenv]
usedevelop = True
# avoid using deps= due to https://github.com/tox-dev/tox/issues/149
# hide deps from stdout https://github.com/tox-dev/tox/issues/601
list_dependencies_command=echo
sitepackages=False
setenv =
PIP_LOG={envdir}/pip.log
passenv =
CI
PIP_*
TRAVIS
TRAVIS_*
XDG_CACHE_HOME
envars =
PIP_DISABLE_PIP_VERSION_CHECK=1
PIP_USER=no
whitelist_externals =
bash
echo
find
grep
rm
xargs
[testenv:linters]
commands=
pip install -q -r requirements.txt -r test-requirements.txt
bash -c "npm install && npm run spell"
python -m pre_commit run --all