Setting up CodeCov tests
@@ -20,7 +20,7 @@ addons:
matrix:
include:
- rust: nightly
- env: AS_DEPENDENCY=true
+ env: DO_COV=true AS_DEPENDENCY=true
script:
- ./contrib/test.sh
@@ -36,6 +36,6 @@ after_success: |
make install DESTDIR=../../kcov-build &&
cd ../.. &&
rm -rf kcov-master &&
- for file in target/debug/rgb-*; do [ -x "${file}" ] || continue; mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
+ for file in target/debug/lnpbp-*; do [ -x "${file}" ] || continue; 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) &&
echo "Uploaded code coverage"
