File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 18
18
- LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
19
19
- SEGFAULT_SIGNALS=all
20
20
- PYTHONUNBUFFERED=True
21
+ - CODECOV_ENV=TRAVIS_PYTHON_VERSION
21
22
22
23
addons :
23
24
apt :
@@ -51,8 +52,9 @@ after_success:
51
52
# Uncomment if need to geninterop, ie. py37 final
52
53
# - python tools/geninterop/geninterop.py
53
54
54
- # Waiting on mono-cov support or SharpCover
55
- - codecov
55
+ # Waiting on mono-coverage, SharpCover or xr.Baboon
56
+ - coverage xml -i
57
+ - codecov --file coverage.xml --flags Setup_Linux
56
58
57
59
notifications :
58
60
email : false
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ environment:
9
9
global :
10
10
PYTHONUNBUFFERED : True
11
11
PYTHONWARNINGS : ' ignore:::wheel.pep425tags:'
12
+ CODECOV_ENV : PYTHON_VERSION, PLATFORM
12
13
13
14
matrix :
14
15
- PYTHON_VERSION : 2.7
@@ -49,8 +50,10 @@ test_script:
49
50
- ps : .\ci\appveyor_build_recipe.ps1
50
51
51
52
on_finish :
52
- # Upload coverage
53
- - codecov
53
+ - coverage xml -i
54
+ - codecov --file coverage.xml --flags Setup_Windows
55
+ - codecov --file py.coverage --flags Python_Tests
56
+ - codecov --file cs.coverage --flags Embedded_Tests
54
57
55
58
artifacts :
56
59
- path : dist\*
Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ wheel; sys_platform == 'win32'
8
8
pycparser ; sys_platform != 'win32'
9
9
10
10
# Coverage upload
11
- codecov
11
+ # codecov v2.0.6 isn't on PyPi
12
+ https://github.com/codecov/codecov-python/tarball/v2.0.6
You can’t perform that action at this time.
0 commit comments