Piwik\Plugins\TestRunner\Commands\GenerateTravisYmlFile::configure PHP Method

configure() protected method

protected configure ( )
    protected function configure()
    {
        $this->setName(self::COMMAND_NAME)->setDescription('Generates a .travis.yml file for a plugin. The file can be auto-updating based on the parameters supplied.')->addOption('plugin', null, InputOption::VALUE_REQUIRED, 'The plugin for whom a .travis.yml file should be generated.')->addOption('core', null, InputOption::VALUE_NONE, 'Supplied when generating the .travis.yml file for Piwik core.' . ' Should only be used by core developers.')->addOption('piwik-tests-plugins', null, InputOption::VALUE_REQUIRED, 'Supplied when generating the .travis.yml file for the ' . 'piwik-tests-plugins repository. Should only be used by core developers.')->addOption('artifacts-pass', null, InputOption::VALUE_REQUIRED, "Password to the Piwik build artifacts server. Will be encrypted in the .travis.yml file.")->addOption('github-token', null, InputOption::VALUE_REQUIRED, "GitHub token of a user w/ push access to this repository. Used to auto-commit updates to the " . ".travis.yml file and checkout dependencies. Will be encrypted in the .travis.yml file.\n\n" . "If not supplied, the .travis.yml will fail the build if it needs updating.")->addOption('php-versions', null, InputOption::VALUE_OPTIONAL, "List of PHP versions to test against, ie, 5.4,5.5,5.6. Defaults to: 5.3.3,5.4,5.5,5.6.")->addOption('dump', null, InputOption::VALUE_REQUIRED, "Debugging option. Saves the output .travis.yml to the specified file.")->addOption('repo-root-dir', null, InputOption::VALUE_REQUIRED, "Path to the repo for whom a .travis.yml file will be generated for.")->addOption('force-php-tests', null, InputOption::VALUE_NONE, "Forces the presence of the PHP tests jobs for plugin builds.")->addOption('force-ui-tests', null, InputOption::VALUE_NONE, "Forces the presence of the UI tests jobs for plugin builds.")->addOption('sudo-false', null, InputOption::VALUE_NONE, "If supplied, the .travis.yml file will use travis' new infrastructure.");
    }
GenerateTravisYmlFile