pub fn get() -> CiInfo
Expand description
Loads and returns the CI info of the current environment.
Example
extern crate ci_info;
fn main() {
let info = ci_info::get();
println!("Is CI: {}", info.ci);
if info.ci {
println!("Vendor: {:#?}", info.vendor.unwrap());
}
}