-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathtox.ini
47 lines (40 loc) · 765 Bytes
/
tox.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[tox]
# Ensure you add to .travis.yml if you add here, using `tox -l`
envlist = py27,py34,py35,py36,py37,py38,py39,py310,py311,lint
[travis]
python =
2.7: py27,lint
3.4: py34
3.5: py35
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[testenv]
basepython =
py27: python2.7
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
py38: python3.8
py39: python3.9
py310: python3.10
py311: python3.11
commands =
python --version
nosetests {posargs:--with-coverage} --cover-package=ifcfg
usedevelop = True
deps =
coverage
nose
mock
[testenv:lint]
basepython = python2.7
skip_install = true
deps = flake8
commands =
flake8 src/ifcfg
flake8 tests/