jbzoo/toolbox-ci

Toolbox for continuous integration system

1.3.5 2021-01-15 14:15 UTC

This package is auto-updated.

Last update: 2021-04-06 01:06:20 UTC


README

Build Status Coverage Status Psalm Coverage
Stable Version Latest Unstable Version Dependents GitHub Issues Total Downloads GitHub License

Installing

composer require jbzoo/toolbox-ci

Usage

$ php ./vendor/bin/toolbox-ci convert --help
Description:
  Convert one report format to another

Usage:
  convert [options]

Options:
  -S, --input-format=INPUT-FORMAT    Source format. Available options: checkstyle, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
  -T, --output-format=OUTPUT-FORMAT  Target format. Available options: checkstyle, junit, phpmd-json, phpmnd, psalm-json, tc-inspections, tc-tests
  -N, --suite-name=SUITE-NAME        Set name of root suite
  -I, --input-file[=INPUT-FILE]      Use CLI input (STDIN, pipeline) OR use the option to define filename of source report
  -O, --output-file[=OUTPUT-FILE]    Use CLI output (STDOUT, pipeline) OR use the option to define filename with result
  -R, --root-path[=ROOT-PATH]        If option is set all absolute file paths will be converted to relative
  -F, --tc-flow-id[=TC-FLOW-ID]      Custom flowId for TeamCity output
  -h, --help                         Display this help message
  -q, --quiet                        Do not output any message
  -V, --version                      Display this application version
      --ansi                         Force ANSI output
      --no-ansi                      Disable ANSI output
  -n, --no-interaction               Do not ask any interactive question
  -v|vv|vvv, --verbose               Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Available directions

php ./vendor/bin/toolbox-ci convert:map
Source/Target CheckStyle.xml JUnit.xml PHPmd.json PHPmnd.xml Psalm.json TeamCity - Inspections TeamCity - Tests
CheckStyle.xml - Yes - - - Yes Yes
JUnit.xml - Yes - - - Yes Yes
PHPmd.json - Yes - - - Yes Yes
PHPmnd.xml - Yes - - - Yes Yes
Psalm.json - Yes - - - Yes Yes
TeamCity - Inspections - - - - - - -
TeamCity - Tests - - - - - - -

Unit tests and check code style

make update
make test-all

License

MIT