2017-01-19 18:54:54 +03:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# gather the coverage data
|
2020-01-24 14:36:49 +03:00
|
|
|
pip3 install codecov
|
|
|
|
if [[ $MATRIX_DOCKER ]]; then
|
|
|
|
coverage xml --ignore-errors
|
|
|
|
else
|
|
|
|
coverage xml
|
|
|
|
fi
|
2019-12-30 12:44:15 +03:00
|
|
|
|
2019-11-20 15:00:59 +03:00
|
|
|
if [[ $TRAVIS ]]; then
|
2020-01-24 10:28:52 +03:00
|
|
|
codecov --flags TravisCI
|
2019-11-20 15:00:59 +03:00
|
|
|
fi
|
2017-01-19 18:54:54 +03:00
|
|
|
|
2020-10-29 13:26:44 +03:00
|
|
|
if [ "$TRAVIS_PYTHON_VERSION" == "3.9" ]; then
|
2017-11-08 15:19:56 +03:00
|
|
|
# Coverage and quality reports on just the latest diff.
|
|
|
|
depends/diffcover-install.sh
|
|
|
|
depends/diffcover-run.sh
|
2017-01-20 22:34:13 +03:00
|
|
|
fi
|