Travis CI

Out of the box support

The TravisCI alias, which returns an ITravisCIProvider instance can be used to interact with the Travis CI environment.

The following example prints the build number if running on Travis CI:

if (BuildSystem.TravisCI.IsRunningOnTravisCI)
{
    Information(BuildSystem.TravisCI.Environment.Build.BuildId);
}
else
{
    Information("Not running on Travis CI");
}

See ITravisCIProvider for details and available methods to interact with Travis CI.

Available 3rd party extensions