Remove code coverage. (#1043)

Remove setup.py test (doesn't work with Tox).
This commit is contained in:
Pavel Minaev 2018-11-19 20:59:02 -08:00 committed by GitHub
parent cd5645da0d
commit b5b1e4145e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 42 deletions

View file

@ -1,13 +0,0 @@
[run]
branch = True
source = src
[report]
ignore_errors = True
exclude_lines =
if self.debug:
pragma: no cover
raise NotImplementedError
if __name__ == .__main__.:
omit =
src/ptvsd/_vendored/*

View file

@ -1,3 +0,0 @@
[flake8]
format = junit-xml
output-file = .\linter-test.xml

View file

@ -27,12 +27,3 @@ install:
script:
- tox
# TODO: re-enable after https://github.com/Microsoft/ptvsd/issues/1033
# after_success:
# - |
# if [[ $TRAVIS_PYTHON_VERSION != '2.7' ]]; then
# pushd src
# bash <(curl -s https://codecov.io/bash)
# popd
# fi

View file

@ -7,7 +7,5 @@
"settings": {
"python.linting.enabled": true,
"python.linting.pylintEnabled": false,
// "python.unitTest.pyTestEnabled": true,
// "python.unitTest.pyTestArgs": ["--no-cov"],
}
}

View file

@ -61,17 +61,6 @@ if __name__ == '__main__':
author_email='ptvshelp@microsoft.com',
url='https://aka.ms/ptvs',
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
setup_requires=['pytest_runner>=4.2'],
tests_require=[
'pytest>=3.8',
'pytest-timeout>=1.3',
'psutil>=5.4',
'requests',
'flask',
'django',
'pygments>=2.2',
'colorama>=0.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 2.7',

View file

@ -3,7 +3,4 @@ envlist = py{27,34,35,36,37}
[testenv]
deps = -rtest_requirements.txt
setenv =
COVERAGE_FILE = .coverage.{envname}
commands =
pytest {posargs:-vv}
commands = pytest {posargs:-vv}