mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
23 lines
639 B
Bash
Executable File
23 lines
639 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# gather the coverage data
|
|
sudo apt-get -qq install lcov
|
|
lcov --capture --directory . -b . --output-file coverage.info
|
|
# filter to remove system headers
|
|
lcov --remove coverage.info '/usr/*' -o coverage.filtered.info
|
|
# convert to json
|
|
gem install coveralls-lcov
|
|
coveralls-lcov -v -n coverage.filtered.info > coverage.c.json
|
|
|
|
coverage report
|
|
pip install codecov
|
|
pip install coveralls-merge
|
|
coveralls-merge coverage.c.json
|
|
codecov
|
|
|
|
if [ "$TRAVIS_PYTHON_VERSION" == "3.7" ] && [ "$DOCKER" == "" ]; then
|
|
# Coverage and quality reports on just the latest diff.
|
|
depends/diffcover-install.sh
|
|
depends/diffcover-run.sh
|
|
fi
|