Skip to content

Commit

Permalink
Setting up CodeCov tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jun 5, 2020
1 parent 23f046d commit e5ed738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ addons:
matrix:
include:
- rust: nightly
env: AS_DEPENDENCY=true
env: DO_COV=true AS_DEPENDENCY=true

script:
- ./contrib/test.sh
Expand All @@ -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"

0 comments on commit e5ed738

Please sign in to comment.