Skip to content

Commit

Permalink
TEMP: debug pexpect coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Mar 1, 2019
1 parent f48163e commit 0c3bd8f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 133 deletions.
8 changes: 1 addition & 7 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
[run]
include =
src/*
testing/*
.tox/*/lib/python*/site-packages/_pytest/*
.tox/*/lib/python*/site-packages/pytest.py
.tox\*\Lib\site-packages\_pytest\*
.tox\*\Lib\site-packages\pytest.py
source = .
parallel = 1
branch = 1

Expand Down
31 changes: 2 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,6 @@ matrix:

jobs:
include:
# Coverage for:
# - pytester's LsofFdLeakChecker (can be done with lsof factor later).
- env: TOXENV=py27 PYTEST_COVERAGE=1
python: '2.7'
# Specialized factors for py37.
# NOTE: does not appear to cover src/_pytest/debugging.py?!
# - env: TOXENV=py37-pexpect,py37-trial PYTEST_COVERAGE=1
- &test-macos
# NOTE: (tests with) pexpect appear to be buggy on Travis,
# at least with coverage.
# Log: https://travis-ci.org/pytest-dev/pytest/jobs/500358864
os: osx
osx_image: xcode10.1
language: generic
env: TOXENV=py37-xdist PYTEST_COVERAGE=1
before_install:
- which python3
- python3 -V
- ln -sfn "$(which python3)" /usr/local/bin/python
- python -V
- test $(python -c 'import sys; print("%d%d" % sys.version_info[0:2])') = 37

- env: TOXENV=linting,docs,doctesting PYTEST_COVERAGE=1
# Coverage for:
# - TestArgComplete
- env: TOXENV=py37-numpy-xdist PYTEST_COVERAGE=1

- env: TOXENV=py27-pexpect PYTEST_COVERAGE=1
python: 2.7

Expand Down Expand Up @@ -86,8 +59,8 @@ after_success:
# Add last TOXENV to $PATH.
PATH="$PWD/.tox/${TOXENV##*,}/bin:$PATH"
coverage combine
coverage xml
coverage report -m
coverage xml -i
coverage report -m -i
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
fi
Expand Down
97 changes: 0 additions & 97 deletions azure-pipelines.yml

This file was deleted.

0 comments on commit 0c3bd8f

Please sign in to comment.