From 48cfedc9ee50143945749ccf3f9dd8a2b44a8fe8 Mon Sep 17 00:00:00 2001 From: Geoffroy Aubry Date: Wed, 3 Jul 2013 09:53:32 +0200 Subject: [PATCH 1/4] [twgit] Init hotfix 'hotfix-1.1.5'. From 013c03b13747555c917d9585aef867a5e713faf3 Mon Sep 17 00:00:00 2001 From: Geoffroy Aubry Date: Wed, 3 Jul 2013 10:00:18 +0200 Subject: [PATCH 2/4] Add badge poser. #1 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0f40687..6fb2ae6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # ErrorHandler + +[![Latest stable version](https://poser.pugx.org/geoffroy-aubry/ErrorHandler/v/stable.png "Latest stable version")](https://packagist.org/packages/geoffroy-aubry/ErrorHandler) [![Build Status](https://secure.travis-ci.org/geoffroy-aubry/ErrorHandler.png?branch=stable)](http://travis-ci.org/geoffroy-aubry/ErrorHandler) [![Coverage Status](https://coveralls.io/repos/geoffroy-aubry/ErrorHandler/badge.png?branch=stable)](https://coveralls.io/r/geoffroy-aubry/ErrorHandler) From 95e5847bc98188deb75f718bf97d35899435adb2 Mon Sep 17 00:00:00 2001 From: Geoffroy Aubry Date: Wed, 3 Jul 2013 10:59:16 +0200 Subject: [PATCH 3/4] Add continuous integration section in README.md. #2 --- README.md | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 6fb2ae6..110da02 100644 --- a/README.md +++ b/README.md @@ -65,16 +65,33 @@ $ php vendor/bin/apigen.php -c apigen.neon Licensed under the GNU Lesser General Public License v3 (LGPL version 3). See [LICENSE](LICENSE) file for details. -## ChangeLog +## Change log See [CHANGELOG](CHANGELOG.md) file for details. -## Running tests -To run the test suite, simply: +## Continuous integration -```bash -$ cp phpunit-dist.php phpunit.php # and adapt, if necessary -$ phpunit -c phpunit.xml -``` +[![Build Status](https://secure.travis-ci.org/geoffroy-aubry/ErrorHandler.png?branch=stable)](http://travis-ci.org/geoffroy-aubry/ErrorHandler) +[![Coverage Status](https://coveralls.io/repos/geoffroy-aubry/ErrorHandler/badge.png?branch=stable)](https://coveralls.io/r/geoffroy-aubry/ErrorHandler) + +Following commands are executed during each build and must report neither errors nor warnings: + + * Unit tests with [PHPUnit](https://github.com/sebastianbergmann/phpunit/): + + ```bash + $ php vendor/bin/phpunit --configuration phpunit.xml + ``` + + * Coding standards with [PHP CodeSniffer](http://pear.php.net/package/PHP_CodeSniffer): + + ```bash + $ php vendor/bin/phpcs --standard=PSR2 src/ tests/ -v + ``` + + * Code quality with [PHP Mess Detector](http://phpmd.org/): + + ```bash + $ php vendor/bin/phpmd src/ text codesize,design,unusedcode,naming,controversial + ``` ## Git branching model The git branching model used for development is the one described and assisted by `twgit` tool: [https://github.com/Twenga/twgit](https://github.com/Twenga/twgit). From f95187e7b62fc36470b62b37a69032300c91d0df Mon Sep 17 00:00:00 2001 From: Geoffroy Aubry Date: Wed, 3 Jul 2013 11:02:05 +0200 Subject: [PATCH 4/4] Update CHANGELOG.md. --- CHANGELOG.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 072bf15..e55793d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,14 @@ -ChangeLog -========= +Change log +========== +## Version 1.1.5 (2013-07-03) + +Doc: + + - [#2](https://github.com/geoffroy-aubry/ErrorHandler/issues/2): Add continuous integration section in `README.md`. + - [#1](https://github.com/geoffroy-aubry/ErrorHandler/issues/1): Add badge poser in `README.md`. + ## Version 1.1.4 (2013-06-13) Doc: