2017 © Pedro Peláez
 

application integration-setup

PHP CI setup: Help setup phing and continous integration resources

image

mlequer/integration-setup

PHP CI setup: Help setup phing and continous integration resources

  • Wednesday, September 21, 2016
  • by mlequer
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

>, (*1)

Project moved to gitlab, (*2)

Build Status](https://travis-ci.org/lequer/IntegrationSetup), (*3)

Integration Setup

This is the tool I use to setup my projects. This allows for setup consistency across multiple projects. It uses Phing and the setup is based on Template for Jenkins Jobs for PHP Projects, (*4)

The script adds build.xml, phpunit configuration file, phpmd setup, sonarQube setup and documentation generation with Sami., (*5)

Currently, It does not support external template folder, (*6)

Installation

Install the latest version with, (*7)

$ composer require mlequer/integration-setup, (*8)

Usage

Usage:
  setup [options] [--] <name>

Arguments:
  name                                 Project name

Options:
  -d, --destination=DESTINATION        Relative destination for build.xml [default: "."]
  -b, --build-folder=BUILD-FOLDER      Build folder [default: "build"]
  -r, --resources=RESOURCES            Destination folder for the resources [default: "Resources"]
  -s, --source=SOURCE                  Source folder [default: "src"]
  -t, --tests=TESTS                    Tests folder [default: "tests"]
  -c, --configuration[=CONFIGURATION]  configuration file
  -e, --exclude=EXCLUDE                Exclude folders [default: ["vendor","build"]] (multiple values allowed)
  -x, --extensions=EXTENSIONS          File extensions [default: ["php"]] (multiple values allowed)
      --dry-run                        Dry run
      --skip-composer                  Skip composer update
  -g, --generate-config                Generate config from parameters
  -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

Or use a yaml config file:, (*9)

$ bin/console setup PHPCISetup -c .ci-setup.yml, (*10)

The Versions