2017 © Pedro Peláez
 

library teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

image

smt/teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  • Tuesday, September 8, 2015
  • by smt
  • Repository
  • 2 Watchers
  • 1 Stars
  • 22 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 7 Versions
  • 0 % Grown

The README.md

smt/teamcity-integration

Simple script to integrate (generate reports) with teamcity, (*1)

Installation

composer global require smt/teamcity-integration

Now you can use it, (*2)

Usage

run-inspections PATH_TO_YOUR_PROJECT

Configuration

Configuration file is optional, however if you decided to change something you must place it in project root and name ci.json, (*3)

Reference

{
    "inspections": { // Configuration for inspections (default below)
        "phpmd": { // Configuration for PHPMD
            "enabled": true, // Whether this inspection should be run
            "path": "phpmd", // How mess detector should be executed
            "format": "xml", // Output format
            "files": "src/", // Folder or files to process
            "resultPath": "res/mess.xml" // Path to file with report
            "inspections": [ // List of inspections of mess detector to enable
                "cleancode",
                "codesize",
                "controversial",
                "design",
                "naming",
                "unusedcode"
            ]
        },
        "phpcs": { // Configuration for CodeSniffer
            "enabled": true, // Whether this inspection should be run
            "path": "phpcs", // How CodeSniffer should be executed
            "files": "src/", // Folder or files to process
            "format": "checkstyle", // Output format
            "resultPath": "res/checkstyle.xml" // Path to file with report
        },
        "phpunit": { // Configuration for PHPUnit
            "enabled": true, // Whether this inspection should be run
            "path": "phpunit", // How PHPUnit should be executed
            "files": "src/", // Folder or files to process
            "bootstrap": "vendor/autoload.php", // Bootstrap file
            "configurationFile": null, // Configuration file for PHPUnit
            "format": "junit", // Test results output format
            "resultPath": "res/unit.xml", // Path to file with report about tests
            "coverage": { // Coverage configuration
                "format": "clover", // Output format
                "resultPath": "res/coverage.xml" // Path to file with report about coverage
            }
        }
    },
    "hooks": {
        "inspections": [ // Commands placed here would ran just before inspections starts
            "echo 'Some command here'"
        ],
        "cleanup": [ // Commands placed here would ran just before exit
            "echo 'Good Bye!'"
        ]
    }
}

The Versions

08/09 2015

dev-develop

dev-develop https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Kirill Saksin

08/09 2015

v1.0.5

1.0.5.0 https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Kirill Saksin

03/09 2015

v1.0.4

1.0.4.0 https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Kirill Saksin

03/09 2015

v1.0.3

1.0.3.0 https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

MIT

The Requires

  • php >=5.4

 

by Kirill Saksin

03/09 2015

v1.0.2

1.0.2.0 https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

The Requires

  • php >=5.4

 

by Kirill Saksin

03/09 2015

v1.0.1

1.0.1.0 https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

The Requires

  • php >=5.4

 

by Kirill Saksin

03/09 2015

v1.0.0

1.0.0.0 https://github.com/saksmt/php-teamcity-integration

Simple script to generate a couple of files, like unit-test reports and so on , for teamcity

  Sources   Download

The Requires

  • php >=5.4

 

by Kirill Saksin