Make sure tests get run by coverage
This commit is contained in:
parent
3e034585b3
commit
9353493139
2 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ after_success: |
|
||||||
make install DESTDIR=../../kcov-build &&
|
make install DESTDIR=../../kcov-build &&
|
||||||
cd ../.. &&
|
cd ../.. &&
|
||||||
rm -rf kcov-master &&
|
rm -rf kcov-master &&
|
||||||
for file in target/debug/imap-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
|
ls target/debug/deps &&
|
||||||
|
for file in target/debug/deps/imap*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
|
||||||
bash <(curl -s https://codecov.io/bash) &&
|
bash <(curl -s https://codecov.io/bash) &&
|
||||||
echo "Uploaded code coverage";
|
echo "Uploaded code coverage";
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue