2017 © Pedro Peláez
 

library stand-ci

A continuous integration tool designed for Laravel 5 application

image

ngmy/stand-ci

A continuous integration tool designed for Laravel 5 application

  • Thursday, March 26, 2015
  • by ngmy
  • Repository
  • 2 Watchers
  • 1 Stars
  • 56 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Stand CI

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Stand CI is a continuous integration tool designed for Laravel 5 application. It can easily be integrated into your Laravel 5 application., (*2)

Integrated Tools

Stand CI has integrated the following tools:, (*3)

  • PHPUnit - A unit testing framework, (*4)

  • PhpMetrics - A tool to generate reports about such as complexity, maintenability, instability of code, (*5)

  • PHPMD - A tool to detect potential problems in code, (*6)

  • PHPCPD - A tool to detect duplicate code, (*7)

  • PHP_CodeSniffer - A tool to detect coding standard violations, (*8)

  • phpDocumentor - A tool to generate documentation of code, (*9)

Requirements

Stand CI has the following requirements:, (*10)

  • PHP 5.4+, (*11)

  • Laravel 5.0+, (*12)

Installation

Add the package to your composer.json and run composer update:, (*13)

{
    "require-dev": {
        "ngmy/stand-ci": "dev-master"
    }
}

Add the following to the list of service providers in config/app.php:, (*14)

'Ngmy\StandCi\StandCiServiceProvider',

Run the following command:, (*15)

$ php artisan stand-ci:install

Usage

via Web Browser

You can access the Stand CI dashborard via your web browser directly, by typing in the following URL:, (*16)

http://your.laravel.site.domain/stand-ci/builds

After you open the dashboard, you can start the build, by click the "Build" button., (*17)

via Command Line

Build

You can start the build, by running the following command:, (*18)

$ sudo -u your_web_server_user -H php artisan stand-ci:build

Housekeeping

You can discard old builds, by running the following command:, (*19)

$ sudo -u your_web_server_user -H php artisan stand-ci:housekeep

This will discard older than the most recent 20 builds., (*20)

You can also specify the maximum number of builds to keep, by using the --max-builds option:, (*21)

$ sudo -u your_web_server_user -H php artisan stand-ci:housekeep --max-builds=5

Note: You must be running these commands as your web server user. Otherwise, you will not be able to housekeep using the browser., (*22)

via Crontab

Example: The following will build at one minute past midnight each day:, (*23)

01 00 * * * sudo -u your_web_server_user -H php /path/to/your/laravel/project/artisan stand-ci:build; sudo -u your_web_server_user -H php /path/to/your/laravel/project/artisan stand-ci:housekeep

Other Features

Build Notification

If you wish to be notified when the build fails, set the sender and receiver, and the pretend option to false, in your config/packages/ngmy/stand-ci/ngmy-stand-ci-notification.php configuration file., (*24)

The Versions

26/02 2015

1.x-dev

1.9999999.9999999.9999999-dev

A continuous integration tool designed for Laravel 4 application

  Sources   Download

MIT

The Requires

 

by Avatar ngmy

testing laravel 4 ci continuous integration l4