blob: c2a889c537bb65e6458dcfe4904d153596915ca6 [file] [log] [blame]
Zack Williams5c2ea232019-01-30 15:23:01 -07001; Copyright 2017-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
18
19[testenv]
20deps =
21 -r requirements.txt
22 nose2
23 flake8
24
25commands =
26 nose2 -c tox.ini --verbose --junit-xml
27 flake8
28
29[flake8]
30exclude =
31 .tox
32 build
33 xosapi/chameleon_client/protos
34max-line-length = 119
35
36[unittest]
37plugins=nose2.plugins.junitxml
38
39[junit-xml]
40path=nose2-results.xml
41
42[coverage]
43always-on = True
44coverage =
45 xosapi
46 tests
47coverage-report =
48 xml
49 term