blob: e60e4555bf203a01ced58a2ce20eecff3b85f0d5 [file] [log] [blame]
Zack Williams9731cdc2019-11-22 15:42:30 -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; using tox.ini only to store config information for other tools
16
17[tox]
18envlist = py27
19# add to envlist when py3 compat is done py35,py36,py37
20skip_missing_interpreters = true
21skipsdist = True
22
23[testenv]
24deps =
25 -r requirements.txt
26 nose2
27
28commands =
29 nose2 -c tox.ini --verbose --junit-xml
30
31[unittest]
32plugins = nose2.plugins.junitxml
33code-directories =
34 ofagent
35
36[junit-xml]
37path = nose2-results.xml
38
39[coverage]
40always-on = True
41coverage =
42 ofagent
43coverage-report =
44 term
45 xml