blob: 124ec43c5c00e4ba104d2e9c96c8278f3c0b67c7 [file] [log] [blame]
Illyoung Choia9d2c2c2019-07-12 13:29:42 -07001; Copyright 2019-present Open Networking Foundation
2;
3; Licensed under the Apache License, Version 2.0 (the "License");
4; you may not use this file except in compliance with the License.
5; You may obtain a copy of the License at
6;
7; http://www.apache.org/licenses/LICENSE-2.0
8;
9; Unless required by applicable law or agreed to in writing, software
10; distributed under the License is distributed on an "AS IS" BASIS,
11; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12; See the License for the specific language governing permissions and
13; limitations under the License.
14
15[tox]
16envlist = py27,py35,py36,py37
17skip_missing_interpreters = true
18skipsdist = True
19
20[testenv]
21deps =
22 -r requirements.txt
23 nose2
24 flake8
25 gevent
26 gevent-websocket
27 multistructlog
28 psutil
29
30commands =
31 nose2 -c tox.ini --verbose --junit-xml
32 flake8
33
34[flake8]
35max-line-length = 119
36exclude =
37 .tox
38 build
39
40[unittest]
41plugins = nose2.plugins.junitxml
42
43[junit-xml]
44path = nose2-results.xml
45
46[coverage]
47always-on = True
48coverage =
49 src
50 test
51coverage-report =
52 term
53 xml