mirror of
https://github.com/gryf/ferrit.git
synced 2026-02-25 11:45:48 +01:00
Stright up tox conf, added missing tests module
This commit is contained in:
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
21
tox.ini
21
tox.ini
@@ -1,18 +1,11 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py36, py37, flake8
|
envlist = py36,py37,flake8
|
||||||
|
|
||||||
[travis]
|
|
||||||
python =
|
|
||||||
3.7: py37
|
|
||||||
3.6: py36
|
|
||||||
|
|
||||||
[testenv:flake8]
|
|
||||||
basepython = python
|
|
||||||
deps = flake8
|
|
||||||
commands = flake8 ferrit
|
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
setenv =
|
usedevelop=True
|
||||||
PYTHONPATH = {toxinidir}
|
|
||||||
|
|
||||||
commands = python setup.py test
|
commands = python setup.py test
|
||||||
|
|
||||||
|
[testenv:flake8]
|
||||||
|
basepython = python3
|
||||||
|
deps = flake8
|
||||||
|
commands = flake8 ferrit tests
|
||||||
|
|||||||
Reference in New Issue
Block a user