24 строки
489 B
INI
24 строки
489 B
INI
[tox]
|
|
envlist = py37
|
|
|
|
[travis]
|
|
python =
|
|
3.7: py37
|
|
|
|
[testenv:flake8]
|
|
basepython = python
|
|
deps = flake8
|
|
commands = flake8 glean_parser
|
|
|
|
[testenv]
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|
|
deps =
|
|
-r{toxinidir}/requirements_dev.txt
|
|
; If you want to make tox run the tests with the same versions, create a
|
|
; requirements.txt with the pinned versions and uncomment the following line:
|
|
; -r{toxinidir}/requirements.txt
|
|
commands =
|
|
pip install -U pip
|
|
py.test --basetemp={envtmpdir}
|