forked from EIDA/mediatorws
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (42 loc) · 979 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
48
[tox]
skipsdist = True
minversion = 2.0
envlist = py{35,36}-{all,jenkins,federator,stationlite},pep8
[testenv]
platform = linux
deps =
py{35,36}-{all,jenkins,stationlite}: numpy
py{35,36}-{all,federator,stationlite}: pytest
basepython =
py35: python3.5
py36: python3.6
commands =
py{35,36}-all: python setup.py test --addopts {posargs}
py{35,36}-federator: python setup.py federator test --addopts {posargs}
py{35,36}-stationlite: python setup.py stationlite test --addopts {posargs}
py{35,36}-jenkins: python setup.py test --addopts "--junitxml=junit-{envname}.xml"
[testenv:pep8]
deps = flake8
basepython = python3.6
commands = flake8
[pytest]
python_files = *.py
python_classes = *TestCase
python_functions = test_*
[flake8]
select = E,F,W
max_line_length = 79
ignore = W504
exclude =
.git,
.tox,
.eggs,
__pycache__,
build,
dist,
docs,
venv*,
config,
*egg,
eidangservices/mediator,
eidangservices/stationlite/bin/test_routing.py