diff options
author | diosmosis <benaka@piwik.pro> | 2015-10-23 09:15:28 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-23 09:15:28 +0300 |
commit | 903dec2ee0d1a59534aa09bfa31f961dc37d5f4f (patch) | |
tree | 198fdf285887b46f1b0645f4e763cb826f7222e9 /plugins/TestRunner | |
parent | b587f44f92ac02436d2f607d29079f0a72726f0c (diff) |
Allow plugin:generate command to overwrite existing files and/or continue if plugin directory exists if new --overwrite option specified.
Diffstat (limited to 'plugins/TestRunner')
-rw-r--r-- | plugins/TestRunner/Commands/GenerateTravisYmlFile.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/TestRunner/Commands/GenerateTravisYmlFile.php b/plugins/TestRunner/Commands/GenerateTravisYmlFile.php index 5e1ac7d181..42e5284c37 100644 --- a/plugins/TestRunner/Commands/GenerateTravisYmlFile.php +++ b/plugins/TestRunner/Commands/GenerateTravisYmlFile.php @@ -39,7 +39,9 @@ class GenerateTravisYmlFile extends ConsoleCommand ->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('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."); } protected function execute(InputInterface $input, OutputInterface $output) |