/// <summary>
 /// Initializes a new instance of the <see cref="TravisCIEnvironmentInfo"/> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 public TravisCIEnvironmentInfo(ICakeEnvironment environment)
     : base(environment)
 {
     Build      = new TravisCIBuildInfo(environment);
     Job        = new TravisCIJobInfo(environment);
     Repository = new TravisCIRepositoryInfo(environment);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TravisCIEnvironmentInfo"/> class.
 /// </summary>
 /// <param name="environment">The environment.</param>
 public TravisCIEnvironmentInfo(ICakeEnvironment environment)
     : base(environment)
 {
     _buildProvider      = new TravisCIBuildInfo(environment);
     _jobProvider        = new TravisCIJobInfo(environment);
     _repositoryProvider = new TravisCIRepositoryInfo(environment);
 }