Code Monkey home page Code Monkey logo

php-jenkins's Introduction

php-jenkins

Boilerplate for setting up continuous integration of PHP applications using Jenkins.

Installation / setup

Clone or download the files and directories, and add them to your repository.

Configure your source and test directories in:

build.xml

[...]
<property name="src-dir" value="${basedir}/src" />
[...]

phpunit.xml.dist

[...]
<directory>./tests/</directory>
[...]
<directory>./src/</directory>
[...]

build/phpdox.xml

[...]
<project name="Example" source="src" workdir="${basedir}/api/xml">
[...]

Build Targets

Here are the list of build targets that are defined within the build.xml:

  • build (DEFAULT)
  • build-clean
  • build-parallel
  • build-parallel-clean
  • build-common
  • tools-parallel - Run tools in parallel
  • clean - Cleanup build and composer artifacts
  • clean-build - Cleanup build artifacts
  • clean-composer - Cleanup composer artifacts
  • composer - Install or update dependencies
  • composer.check
  • composer-install - Installing dependencies
  • composer-update - Updating dependencies
  • lint - Perform syntax check of sourcecode files
  • pdepend - Calculate software metrics using PHP_Depend
  • phpcb - Aggregate tool output with PHP_CodeBrowser
  • phpcpd - Find duplicate code using PHPCPD
  • phpcs - Find coding standard violations using PHP_CodeSniffer and print human readable output. Intended for usage on the command line before committing
  • phpcs-ci - Find coding standard violations using PHP_CodeSniffer creating a log file for the continuous integration server
  • phpdox - Generate API documentation using phpDox
  • phploc - Measure project size using PHPLOC
  • phpmd - Perform project mess detection using PHPMD and print human readable output. Intended for usage on the command line before committing.
  • phpmd-ci - Perform project mess detection using PHPMD creating a log file for the continuous integration server
  • phpunit - Run unit tests with PHPUnit
  • prepare - Prepare for build

References

This boilerplate comes from glueing together a collection of post on the internet

php-jenkins's People

Contributors

jimmypuckett avatar modess avatar drewhammond avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.