BuildSystem.

TravisCI Property

Summary

Gets the Travis CI provider.
Namespace
Cake.Common.Build
Containing Type
BuildSystem

Syntax

public ITravisCIProvider TravisCI { get; }

Examples

if (BuildSystem.IsRunningOnTravisCI)
{
    // Get the operating system name.
    var osName = BuildSystem.TravisCI.Environment.Job.OSName;
}

Value

Type Description
ITravisCIProvider The Travis CI.