fix WINE code coverage paths
This commit is contained in:
parent
aad7906090
commit
7efc3203fc
@ -51,11 +51,17 @@ before_install:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- pip3 install --upgrade codecov
|
- pip3 install --upgrade coverage codecov
|
||||||
- ${PIP} install --upgrade --editable .[test,md5,bcrypt]
|
- ${PIP} install --upgrade --editable .[test,md5,bcrypt]
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ${PYTHON} setup.py test
|
- ${PYTHON} setup.py test
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
|
- |
|
||||||
|
if [ "${TRAVIS_OS_NAME}" == linux -a -n "${WINE_PYTHON}" ]; then
|
||||||
|
config="$(mktemp)"
|
||||||
|
printf '[paths]\nsource =\n .\n %s\n' "$(winepath --windows '')" >"${config}"
|
||||||
|
coverage3 combine --rcfile "${config}" .coverage
|
||||||
|
fi
|
||||||
- codecov --env WINE_PYTHON
|
- codecov --env WINE_PYTHON
|
||||||
|
Loading…
Reference in New Issue
Block a user