Skip to content

Commit

Permalink
Release 0.5.2
Browse files Browse the repository at this point in the history
Fixes #46 by having tarpaulin return -1 in instances were tests can't be compiled.
  • Loading branch information
xd009642 committed Oct 8, 2017
1 parent d3e1c6a commit c638913
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cargo-tarpaulin"
version = "0.5.1"
version = "0.5.2"
authors = ["Daniel McKenna <danielmckenna93@gmail.com>"]
description = "Cargo-Tarpaulin is a tool to determine code coverage achieved via tests"
repository = "https://github.com/xd009642/tarpaulin"
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,15 @@ pub fn launch_tarpaulin(config: &Config) -> Result<Vec<TracerData>, i32> {
merge_test_results(&mut result, &res);
}
}
Ok(resolve_results(result))
},
Err(e) => {
if config.verbose{
println!("Error: failed to compile: {}", e);
}
Err(-1)
},
}
Ok(resolve_results(result))
}


Expand Down
2 changes: 1 addition & 1 deletion travis-install.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
curl -sL https://github.com/xd009642/tarpaulin/releases/download/0.5.1/cargo-tarpaulin-0.5.1-travis.tar.gz | tar xvz -C $HOME/.cargo/bin
curl -sL https://github.com/xd009642/tarpaulin/releases/download/0.5.2/cargo-tarpaulin-0.5.2-travis.tar.gz | tar xvz -C $HOME/.cargo/bin

0 comments on commit c638913

Please sign in to comment.