TravisCIEnvironmentInfo.

Home Property

Summary

Gets the Travis CI home directory.

Syntax

public string Home { get; }

Examples

if (BuildSystem.TravisCI.IsRunningOnTravisCI)
{
    Information(
        @"Home: {0}",
        BuildSystem.TravisCI.Environment.Home
        );
}
else
{
    Information("Not running on TravisCI");
}
if (TravisCI.IsRunningOnTravisCI)
{
    Information(
        @"Home: {0}",
        TravisCI.Environment.Home
        );
}
else
{
    Information("Not running on TravisCI");
}

Value

Type Description
string The home.