|
a |
|
b/tox.ini |
|
|
1 |
[tox] |
|
|
2 |
envlist = py36, py37, py38, flake8 |
|
|
3 |
|
|
|
4 |
[travis] |
|
|
5 |
python = |
|
|
6 |
3.10: py310 |
|
|
7 |
3.9: py39 |
|
|
8 |
3.8: py38 |
|
|
9 |
|
|
|
10 |
[testenv:flake8] |
|
|
11 |
basepython = python |
|
|
12 |
deps = flake8 |
|
|
13 |
commands = flake8 wsic tests |
|
|
14 |
|
|
|
15 |
[testenv] |
|
|
16 |
setenv = |
|
|
17 |
PYTHONPATH = {toxinidir} |
|
|
18 |
deps = |
|
|
19 |
-r{toxinidir}/requirements.txt |
|
|
20 |
; If you want to make tox run the tests with the same versions, create a |
|
|
21 |
; requirements.txt with the pinned versions and uncomment the following line: |
|
|
22 |
; -r{toxinidir}/requirements.txt |
|
|
23 |
commands = |
|
|
24 |
pip install -U pip |
|
|
25 |
pytest |