File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed
Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 1010
1111[run]
1212
13+ parallel = True
14+ concurrency = multiprocessing
15+ branch = True
16+
1317omit =
1418 # Tracked
1519
@@ -40,3 +44,27 @@ omit =
4044 */src/dist-packages/*
4145 */src/dist/*
4246 */src/sdist/*
47+
48+ [report]
49+ # Regexes for lines to exclude from consideration
50+ exclude_lines =
51+ # Have to re-enable the standard pragma
52+ pragma: no cover
53+
54+ # Don't complain about missing debug-only code:
55+ def __repr__
56+ if self\.debug
57+
58+ # Don't complain if tests don't hit defensive assertion code:
59+ raise AssertionError
60+ raise NotImplementedError
61+
62+ # Don't complain if non-runnable code isn't run:
63+ if 0:
64+ if False:
65+ if __name__ == .__main__.:
66+
67+ ignore_errors = True
68+
69+ [html]
70+ directory = htmlcov
Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ script:
4343 - pip check || true
4444 - pytest --version
4545 # Create GMN template database (must be done in a single threaded run)
46- # - pytest --collect-only
46+ - pytest --collect-only
4747 # Run tests in parallel, using as many threads as are supported by Travis
48- - pytest --cov=. --cov-report=term --cov-report=xml
48+ - pytest --cov=. --cov-config .coveragerc --cov-report=term --cov-report=xml -n auto
49+ # --cov-config=tox.ini
50+ # --cov-config=coverage.cfg --cov-report=term --cov-report=xml
4951 # -n auto
5052after_success :
5153 # Submit results to Coveralls.io.
Original file line number Diff line number Diff line change @@ -58,7 +58,6 @@ paramiko==2.4.2
5858pathlib == 1.0.1
5959pathlib2 == 2.3.2
6060pbr == 4.3.0
61- pkg-resources == 0.0.0
6261pkginfo == 1.4.2
6362pluggy == 0.7.1
6463posix-ipc == 1.0.4
You can’t perform that action at this time.
0 commit comments