28 lines
557 B
INI
28 lines
557 B
INI
|
[tox]
|
||
|
envlist = py35, py36, py37, py38, flake8
|
||
|
|
||
|
[travis]
|
||
|
python =
|
||
|
3.8: py38
|
||
|
3.7: py37
|
||
|
3.6: py36
|
||
|
3.5: py35
|
||
|
|
||
|
[testenv:flake8]
|
||
|
basepython = python
|
||
|
deps = flake8
|
||
|
commands = flake8 banana tests
|
||
|
|
||
|
[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
|
||
|
pytest --basetemp={envtmpdir}
|
||
|
|