Don't include tests in codecov

pull/3/head
Bradlee Speice 2018-12-02 23:45:10 -05:00
parent a31bacf9fd
commit 975f041523
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ after_success: |
rm -rf kcov-master && \
for file in target/debug/*-*[^\.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"; \
./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib,tests/ --verify "target/cov/$(basename $file)" "$file"; \
done && \
bash <(curl -s https://codecov.io/bash) && \
echo "Uploaded code coverage"