Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
createMatrix ( array $config ) : Joli\JoliCi\Matrix | Create matrix of build | |
getServices ( $config ) : |
Get services list from travis ci configuration file |
Method | Description | |
---|---|---|
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 |
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 |
protected createMatrix ( array $config ) : Joli\JoliCi\Matrix | ||
$config | array | |
return | Joli\JoliCi\Matrix |
protected getServices ( $config ) : |
||
$config | ||
return |