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("Not running on Travis CI");

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

Available 3rd party extensions

Cake.TravisCI by Rodney Littles II
Cake addin that extends the DSL with TravisCI aliases.