Skip to content

alekspankov/teamcity-agent-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TeamCity Agent (with PHP extensions)

Marvellous TeamCity Server with PHP CI Tools (see below). This build is based on official TeamCity Agent Docker build.

PHP Tools included

  1. PHP 7.2 CLI
  2. PHPUnit version 7 (https://phpunit.de/)
    1. db-unit (https://github.com/sebastianbergmann/dbunit)
    2. php-invoker (https://github.com/sebastianbergmann/php-invoker)
    3. phpunit-selenium (https://github.com/giorgiosironi/phpunit-selenium)
  3. PHP Dead Code Detector (https://github.com/sebastianbergmann/phpdcd) (abandoned, for backward compatibility only)
  4. PHPMD (https://github.com/phpmd/phpmd)
  5. PHP_Depend (https://github.com/pdepend/pdepend)
  6. PHP Documentor (https://www.phpdoc.org/)
  7. PHP_CodeBrowser (https://github.com/mayflower/PHP_CodeBrowser)
  8. PHPLoc (https://github.com/sebastianbergmann/phploc)
  9. PHP_CodeSniffer (https://github.com/squizlabs/PHP_CodeSniffer)

Getting Started

  1. Pull image docker pull aleksxp/teamcity-agent-php optional
  2. You will need teamcity-agent to run builds.
  3. Run ```docker run -it -e SERVER_URL="" \ -v :/data/teamcity_agent/conf \
    aleksxp/teamcity-agent-php``

Read more about docker run option in official Docker documentstion. Also you can use the documentation for official TeamCity agent image

Documentation

The full documentation is placed on project site.

Build

  1. Create directory
  2. CD into created directory
  3. Create Dockerfile. Use FROM aleksxp/teamcity-php. Add whatever you need.
  4. Run docker build -t your_image_name .

Read more about Dockerfile and docker build in official Docker documentation.

Prerequisites

  1. Docker

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

PHP Agent for TeamCity

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published