blob: bb5d074e011024b0278978d184733894a9bd3902 [file] [log] [blame]
Illyoung Choi8b097c92019-08-01 12:38:06 -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 requests_mock
24 nose2
25 flake8
26
27changedir = xos
28commands =
29 nose2 -c ../tox.ini --verbose --junit-xml
30 flake8
31
32[flake8]
33max-line-length = 119
34exclude =
35 .tox
36
37[unittest]
38plugins = nose2.plugins.junitxml
39
40[junit-xml]
41path = nose2-results.xml
42
43[coverage]
44always-on = True
45omit = .tox
46coverage-report =
47 term
48 xml