Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • CiEnvVarsCollector
  • CloverXmlCoverageCollector
  • GitInfoCollector
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CiEnvVarsCollector

Environment variables collector for CI envrionment.

Namespace: Contrib\Bundle\CoverallsV1Bundle\Collector
Author: Kitamura Satoshi <with.no.parachute@gmail.com>
Located at Contrib/Bundle/CoverallsV1Bundle/Collector/CiEnvVarsCollector.php
Methods summary
public
# __construct( Contrib\Bundle\CoverallsV1Bundle\Config\Configuration $config )

Constructor.

Constructor.

Parameters

$config
Contrib\Bundle\CoverallsV1Bundle\Config\Configuration
$config Configuration.
public array
# collect( array $env )

Collect environment variables.

Collect environment variables.

Parameters

$env
array
$env $_SERVER environment.

Returns

array
protected Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
# fillTravisCi( )

Fill Travis CI environment variables.

Fill Travis CI environment variables.

"TRAVIS", "TRAVIS_JOB_ID" must be set.

Returns

Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
protected Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
# fillCircleCi( )

Fill CircleCI environment variables.

Fill CircleCI environment variables.

"CIRCLECI", "CIRCLE_BUILD_NUM" must be set.

Returns

Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
protected Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
# fillJenkins( )

Fill Jenkins environment variables.

Fill Jenkins environment variables.

"JENKINS_URL", "BUILD_NUMBER" must be set.

Returns

Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
protected Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
# fillLocal( )

Fill local environment variables.

Fill local environment variables.

"COVERALLS_RUN_LOCALLY" must be set.

Returns

Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
protected Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
# fillRepoToken( )

Fill repo_token for unsupported CI service.

Fill repo_token for unsupported CI service.

"COVERALLS_REPO_TOKEN" must be set.

Returns

Contrib\Bundle\CoverallsV1Bundle\Collector\CiEnvVarsCollector
Properties summary
protected Contrib\Bundle\CoverallsV1Bundle\Config\Configuration $config
#

Configuration.

Configuration.

protected array $env
#

Environment variables.

Environment variables.

Overwritten through collection process.

php-coveralls API documentation generated by ApiGen 2.8.0