2019-04-01 20:28:23 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -eo pipefail
|
2018-11-07 15:50:24 +01:00
|
|
|
for file in target/debug/*-*[^\.d]; do
|
|
|
|
if [[ -x "$file" ]]
|
|
|
|
then
|
|
|
|
filename=$(basename $file)
|
|
|
|
mkdir -p "target/cov/$filename"
|
|
|
|
kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$filename" "$file"
|
|
|
|
fi
|
2019-04-01 20:28:23 +02:00
|
|
|
done
|
|
|
|
bash <(curl -s https://codecov.io/bash)
|