BuildSystem.

IsRunningOnTravisCI Property

Summary

Gets a value indicating whether this instance is running on Travis CI.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public bool IsRunningOnTravisCI { get; }

Examples

if (BuildSystem.IsRunningOnTravisCI)
{
    // Get the build directory.
    var buildDirectory = BuildSystem.TravisCI.Environment.Build.BuildDirectory;
}

Value

Type Description
bool true if this instance is running on Travis CI; otherwise, false.