[FIX] workaround codecov upload

This commit is contained in:
Benedek Racz 2020-01-28 11:00:23 +01:00
parent 961b85b8b6
commit 2fd01d953f

View File

@ -22,8 +22,7 @@ test_script:
after_test:
# Upload code coverage results.
# https://github.com/codecov/codecov-python/issues/158#issuecomment-514282362
- codecov --required || (sleep 5 && codecov --required) || (sleep 5 && codecov --required) || (sleep 5 && codecov --required) || (sleep 5 && codecov --required)
- codecov --no-color -X gcov --file coverage.xml --required || (sleep 5 && codecov --no-color -X gcov --file coverage.xml --required) || (sleep 5 && codecov --no-color -X gcov --file coverage.xml --required) || (sleep 5 && codecov --no-color -X gcov --file coverage.xml --required) || (sleep 5 && codecov --no-color -X gcov --file coverage.xml --required)
# fill .pypirc file.
# pypi
- cmd: "echo [pypi] > %USERPROFILE%\\.pypirc"