Merge pull request #4799 from blueyed/codecov
codecov: use only linux/windows/osx flags
This commit is contained in:
commit
a0f5c4c8f5
|
@ -105,7 +105,7 @@ after_success:
|
||||||
coverage combine
|
coverage combine
|
||||||
coverage xml --ignore-errors
|
coverage xml --ignore-errors
|
||||||
coverage report -m --ignore-errors
|
coverage report -m --ignore-errors
|
||||||
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F "${TOXENV//-/,},linux"
|
bash <(curl -s https://codecov.io/bash) -Z -X gcov -X coveragepy -X search -X xcode -X gcovout -X fix -f coverage.xml -F $TRAVIS_OS_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
|
|
|
@ -5,7 +5,7 @@ if not defined PYTEST_NO_COVERAGE (
|
||||||
C:\Python36\Scripts\coverage combine
|
C:\Python36\Scripts\coverage combine
|
||||||
C:\Python36\Scripts\coverage xml --ignore-errors
|
C:\Python36\Scripts\coverage xml --ignore-errors
|
||||||
C:\Python36\Scripts\coverage report -m --ignore-errors
|
C:\Python36\Scripts\coverage report -m --ignore-errors
|
||||||
scripts\appveyor-retry C:\Python36\Scripts\codecov --required -X gcov pycov search -f coverage.xml --flags %TOXENV:-= % windows
|
scripts\appveyor-retry C:\Python36\Scripts\codecov --required -X gcov pycov search -f coverage.xml --flags windows
|
||||||
) else (
|
) else (
|
||||||
echo Skipping coverage upload, PYTEST_NO_COVERAGE is set
|
echo Skipping coverage upload, PYTEST_NO_COVERAGE is set
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue