Skip to content

Commit

Permalink
test(lib): run coverage on integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Nov 14, 2017
1 parent 121b5ee commit a453ea1
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 @@ -44,8 +44,8 @@ after_success:
cmake -DCMAKE_INSTALL_PREFIX:PATH=$LOCAL .. && make && make install && cd ../.. &&
ls target/debug &&
RUSTFLAGS="-C link-dead-code" cargo test --no-run &&
for file in target/debug/hyper-*; do
if [[ "${file: -2}" != ".d" ]]; then
for file in target/debug/*; do
if [[ -x $file ]]; then
mkdir -p "target/cov/$(basename $file)";
kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file";
fi;
Expand Down

0 comments on commit a453ea1

Please sign in to comment.