Use Codecov report flags
Upgrade to Codecov v2.0.6, didn't get released to PyPi.
This commit is contained in:
Родитель
99e04c525f
Коммит
d77f933489
|
@ -18,6 +18,7 @@ env:
|
|||
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
|
||||
- SEGFAULT_SIGNALS=all
|
||||
- PYTHONUNBUFFERED=True
|
||||
- CODECOV_ENV=TRAVIS_PYTHON_VERSION
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
@ -51,8 +52,9 @@ after_success:
|
|||
# Uncomment if need to geninterop, ie. py37 final
|
||||
# - python tools/geninterop/geninterop.py
|
||||
|
||||
# Waiting on mono-cov support or SharpCover
|
||||
- codecov
|
||||
# Waiting on mono-coverage, SharpCover or xr.Baboon
|
||||
- coverage xml -i
|
||||
- codecov --file coverage.xml --flags Setup_Linux
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
|
|
@ -9,6 +9,7 @@ environment:
|
|||
global:
|
||||
PYTHONUNBUFFERED: True
|
||||
PYTHONWARNINGS: 'ignore:::wheel.pep425tags:'
|
||||
CODECOV_ENV: PYTHON_VERSION, PLATFORM
|
||||
|
||||
matrix:
|
||||
- PYTHON_VERSION: 2.7
|
||||
|
@ -49,8 +50,10 @@ test_script:
|
|||
- ps: .\ci\appveyor_build_recipe.ps1
|
||||
|
||||
on_finish:
|
||||
# Upload coverage
|
||||
- codecov
|
||||
- coverage xml -i
|
||||
- codecov --file coverage.xml --flags Setup_Windows
|
||||
- codecov --file py.coverage --flags Python_Tests
|
||||
- codecov --file cs.coverage --flags Embedded_Tests
|
||||
|
||||
artifacts:
|
||||
- path: dist\*
|
||||
|
|
|
@ -8,4 +8,5 @@ wheel; sys_platform == 'win32'
|
|||
pycparser; sys_platform != 'win32'
|
||||
|
||||
# Coverage upload
|
||||
codecov
|
||||
# codecov v2.0.6 isn't on PyPi
|
||||
https://github.com/codecov/codecov-python/tarball/v2.0.6
|
||||
|
|
Загрузка…
Ссылка в новой задаче