is-travis
Check if your code is running on Travis CI
Install
Specify the dependencty in Cargo.toml:
is-travis = "~1.0.0"
Fetch it with cargo:
Usage
extern crate is_travis;
use is_travis;
println!; // prints false on your PC, true on Travis CI
About
License
Copyright © 2018, nukeop. Released under the MIT License.