Skip to content

Commit 5076192

Browse files
committed
add --verify to coveralls
1 parent ee64f65 commit 5076192

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ addons:
3030
- libcurl4-openssl-dev
3131
- libelf-dev
3232
- libdw-dev
33+
- binutils-dev
3334
after_success: |
3435
[ $TRAVIS_BRANCH = master ] &&
3536
[ $TRAVIS_PULL_REQUEST = false ] &&

run-kcov

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ done
3737
if [ -n "$with_plugin" ]; then
3838
cargo test --manifest-path regex_macros/Cargo.toml --no-run --verbose
3939
kcov \
40+
--verify \
4041
--include-pattern '/regex/src/' \
4142
"$tmpdir/plugin" \
4243
$(ls -t ./regex_macros/target/debug/plugin-* | head -n1)
@@ -45,13 +46,14 @@ fi
4546
cargo test --no-run --verbose
4647
for t in ${tests[@]}; do
4748
kcov \
49+
--verify \
4850
--include-pattern '/regex/src/' \
4951
"$tmpdir/$t" \
5052
$(ls -t ./target/debug/"$t"-* | head -n1)
5153
done
5254

5355
if [ -n "$coveralls_id" ]; then
54-
kcov --coveralls-id=$coveralls_id --merge target/cov "$tmpdir"/*
56+
kcov --verify --coveralls-id=$coveralls_id --merge target/cov "$tmpdir"/*
5557
else
56-
kcov --merge target/cov "$tmpdir"/*
58+
kcov --verify --merge target/cov "$tmpdir"/*
5759
fi

0 commit comments

Comments
 (0)