PHP 클래스 Joli\JoliCi\BuildStrategy\TravisCiBuildStrategy

A project must have a .travis.yml file
저자: Joel Wurtz ([email protected])
상속: implements Joli\JoliCi\BuildStrategy\BuildStrategyInterface
파일 보기 프로젝트 열기: jolicode/jolici

공개 메소드들

메소드 설명
__construct ( Joli\JoliCi\Builder\DockerfileBuilder $builder, string $buildPath, Joli\JoliCi\Naming $naming, Joli\JoliCi\Filesystem\Filesystem $filesystem )
getJobs ( $directory )
getName ( )
prepareJob ( Joli\JoliCi\Job $job )
supportProject ( $directory )

보호된 메소드들

메소드 설명
createMatrix ( array $config ) : Joli\JoliCi\Matrix Create matrix of build
getServices ( $config ) : Service[] Get services list from travis ci configuration file

비공개 메소드들

메소드 설명
getConfigValue ( array $config, string $language, string $key ) : array Get command lines to add for a configuration value in .travis.yml file
isLanguageVersionSupported ( $language, $version )
parseEnvironementVariable ( $envVar ) : array Parse an envar
parseEnvironmentLine ( $environmentLine ) : array Parse an environnement line from Travis to return an array of variables

메소드 상세

__construct() 공개 메소드

public __construct ( Joli\JoliCi\Builder\DockerfileBuilder $builder, string $buildPath, Joli\JoliCi\Naming $naming, Joli\JoliCi\Filesystem\Filesystem $filesystem )
$builder Joli\JoliCi\Builder\DockerfileBuilder Twig Builder for Dockerfile
$buildPath string Directory where builds are created
$naming Joli\JoliCi\Naming Naming service
$filesystem Joli\JoliCi\Filesystem\Filesystem Filesystem service

createMatrix() 보호된 메소드

Create matrix of build
protected createMatrix ( array $config ) : Joli\JoliCi\Matrix
$config array
리턴 Joli\JoliCi\Matrix

getJobs() 공개 메소드

public getJobs ( $directory )

getName() 공개 메소드

public getName ( )

getServices() 보호된 메소드

Get services list from travis ci configuration file
protected getServices ( $config ) : Service[]
$config
리턴 Joli\JoliCi\Service[]

prepareJob() 공개 메소드

public prepareJob ( Joli\JoliCi\Job $job )
$job Joli\JoliCi\Job

supportProject() 공개 메소드

public supportProject ( $directory )