blob: a6dde5fc1475cb19a8e61ce0b51f0a7db6c70b59 [file] [log] [blame]
Andy Bavier9cb69f92019-04-02 11:47:13 -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
17; future; envlist = py27,py35,py36,py37
18skip_missing_interpreters = true
19skipsdist = True
20
21[testenv]
22deps =
23 -r requirements.txt
24 requests_mock
25 nose2
26; flake8
27
28changedir = xos
29commands =
30 nose2 -c ../tox.ini --verbose --junit-xml
31; future: flake8
32
33[flake8]
34max-line-length = 119
35
36[unittest]
37plugins = nose2.plugins.junitxml
Andy Bavier289d7aa2019-04-25 10:00:28 -070038code-directories=synchronizer
39 model_policies
40 steps
41 pull_steps
42 event_steps
Andy Bavier9cb69f92019-04-02 11:47:13 -070043
44[junit-xml]
45path = nose2-results.xml
46
47[coverage]
48always-on = True
49coverage-report =
50 term
51 xml