2017 © Pedro Peláez
 

library tao-build

Tools to build and manage TAO installation

image

oat-sa/tao-build

Tools to build and manage TAO installation

  • Friday, March 31, 2017
  • by oat-lionel
  • Repository
  • 12 Watchers
  • 2 Stars
  • 2,720 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 7 Versions
  • 5 % Grown

The README.md

TAO build process

Build the package

  • Download package-tao from github
  • Switch to develop branch
  • Retrieve all extensions and dependencies using composer
  • Create a zip package

Quality checks

  • Generate dependency report with other software metrics using PHP_Depend
  • Look for several potential problems within the source PHP Mess Detector
  • Find duplicate code using PHPCPD
  • Measuring the size and analyzing the structure of the project using PHPLOC
  • Tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards using PHP_CodeSniffer. Ruleset considered are defined in conf/phpcs.xml

Unit Test

  • Install the platform with all extensions
  • Run Unit test according to test configration stored in conf/phpunit_mysql.xml
  • Generate code coverage report

Howto setup Jenkins

  • Create your jenkins project
  • Create the file build.properties
    release.version=nightly
    release.source.name=TAO_${release.version}_build
    
    db.driver=
    db.host=
    db.name=
    db.pass=
    db.user=

    module.mode=
    module.name=
    module.namespace=
    module.url=

    user.login=
    user.pass=
  • Git clone this repository
    git@github.com:oat-sa/package-build.git
  • Setup phing tasks
  • Setup PMD analisys
    build/logs/pmd-*.xml
  • Setup phploc report
    A - Lines of code
    Lines of Code
    build/logs/phploc.csv
    
    B - Structures
    Count
    build/logs/phploc.csv
    
    C - Testing
    Count
    build/logs/phploc.csv
    
    D - Types of Classes
    Count
    build/logs/phploc.csv
    
    E - Types of Methods
    Count
    build/logs/phploc.csv
    
    F - Types of Constants
    Count
    build/logs/phploc.csv
  • Setup PHPCS report
    build/logs/checkstyle.xml
  • Setup PHPCPD reports
    build/logs/pmd-cpd.xml
  • Setup Code Coverage
   **/*-test-suite.xml
  • Deploy zip file on taotesting.com

The Versions

31/03 2017

dev-master

9999999-dev http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque

31/03 2017

dev-develop

dev-develop http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque

25/04 2016

v0.4

0.4.0.0 http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque

19/04 2016

v0.3

0.3.0.0 http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque

25/01 2016

v0.2

0.2.0.0 http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque

08/10 2015

v0.1

0.1.0.0 http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque

24/07 2015

dev-tag_extension

dev-tag_extension http://www.taotesting.com

Tools to build and manage TAO installation

  Sources   Download

GPL-2.0

The Requires

 

by Lionel Lecaque