Skip to content

Commit 0c3bd8f

Browse files
committed
TEMP: debug pexpect coverage
1 parent f48163e commit 0c3bd8f

File tree

3 files changed

+3
-133
lines changed

3 files changed

+3
-133
lines changed

.coveragerc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
[run]
2-
include =
3-
src/*
4-
testing/*
5-
.tox/*/lib/python*/site-packages/_pytest/*
6-
.tox/*/lib/python*/site-packages/pytest.py
7-
.tox\*\Lib\site-packages\_pytest\*
8-
.tox\*\Lib\site-packages\pytest.py
2+
source = .
93
parallel = 1
104
branch = 1
115

.travis.yml

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,6 @@ matrix:
1818

1919
jobs:
2020
include:
21-
# Coverage for:
22-
# - pytester's LsofFdLeakChecker (can be done with lsof factor later).
23-
- env: TOXENV=py27 PYTEST_COVERAGE=1
24-
python: '2.7'
25-
# Specialized factors for py37.
26-
# NOTE: does not appear to cover src/_pytest/debugging.py?!
27-
# - env: TOXENV=py37-pexpect,py37-trial PYTEST_COVERAGE=1
28-
- &test-macos
29-
# NOTE: (tests with) pexpect appear to be buggy on Travis,
30-
# at least with coverage.
31-
# Log: https://travis-ci.org/pytest-dev/pytest/jobs/500358864
32-
os: osx
33-
osx_image: xcode10.1
34-
language: generic
35-
env: TOXENV=py37-xdist PYTEST_COVERAGE=1
36-
before_install:
37-
- which python3
38-
- python3 -V
39-
- ln -sfn "$(which python3)" /usr/local/bin/python
40-
- python -V
41-
- test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 37
42-
43-
- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
44-
# Coverage for:
45-
# - TestArgComplete
46-
- env: TOXENV=py37-numpy-xdist PYTEST_COVERAGE=1
47-
4821
- env: TOXENV=py27-pexpect PYTEST_COVERAGE=1
4922
python: 2.7
5023

@@ -86,8 +59,8 @@ after_success:
8659
# Add last TOXENV to $PATH.
8760
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH"
8861
coverage combine
89-
coverage xml
90-
coverage report -m
62+
coverage xml -i
63+
coverage report -m -i
9164
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -n $TOXENV
9265
fi
9366

azure-pipelines.yml

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)