mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
Auto merge of #728 - kbknapp:coveralls, r=kbknapp
chore: coveralls upload fix
This commit is contained in:
commit
00b8d16078
1 changed files with 2 additions and 3 deletions
|
@ -41,9 +41,8 @@ after_success:
|
|||
rm -rf kcov-master &&
|
||||
cargo clean &&
|
||||
cargo test --no-run --features "yaml unstable" &&
|
||||
for file in target/debug/*-*; do mkdir -p "target/cov/$(basename $file)"; kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
|
||||
for file in target/debug/deps/clap-*; do mkdir -p "target/cov/$(basename $file)"; kcov --coveralls-id=$TRAVIS_JOB_ID --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "deps/$file"; done &&
|
||||
bash <(curl -s https://codecov.io/bash) &&
|
||||
for file in target/debug/*-*; do mkdir -p "target/cov/$(basename $file)"; kcov --exclude-pattern=/.cargo --verify "target/cov/$(basename $file)" "$file"; done &&
|
||||
kcov --coveralls-id=$TRAVIS_JOB_ID --merge target/cov target/cov/* &&
|
||||
echo "Uploaded code coverage"
|
||||
env:
|
||||
global:
|
||||
|
|
Loading…
Reference in a new issue