From f9bfe09998ef9e8756f251945a8654ada654794c Mon Sep 17 00:00:00 2001 From: Eric Richer Date: Wed, 1 Jul 2020 11:41:41 -0400 Subject: [PATCH 1/3] Updating coveralls to travis-ci --- .cloveralls.yml | 6 ++++++ .travis.yml | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 .cloveralls.yml diff --git a/.cloveralls.yml b/.cloveralls.yml new file mode 100644 index 00000000..3b4fbe8f --- /dev/null +++ b/.cloveralls.yml @@ -0,0 +1,6 @@ +# Set folder to clover (must be the same on travis) +coverage_clover: build/logs/clover.xml +# Same folder here +json_path: build/logs/coveralls-upload.json +# Don't touch that +service_name: travis-ci diff --git a/.travis.yml b/.travis.yml index 7955fc7c..413915af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,14 +12,15 @@ env: before_script: - composer self-update - composer update --prefer-dist $DEPENDENCIES + - mkdir -p ./build/logs script: - ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml --exclude-group Functional - ./vendor/bin/phpunit --group=Functional - ./vendor/bin/phpcs --standard=PSR2 ./src/ -after_script: - - php vendor/bin/coveralls -v +after_success: + - travis_retry ./vendor/bin/php-coveralls -v notifications: irc: "irc.freenode.org#zftalk.modules" From 317bc233b62bb303f00038033182262afe0c10ad Mon Sep 17 00:00:00 2001 From: Eric Richer Date: Wed, 1 Jul 2020 11:58:35 -0400 Subject: [PATCH 2/3] Updated CHANGELOG.md to point to the repo --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e8a8f776..0ed81080 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -For changelog, please refer to the [releases](https://github.com/ZF-Commons/ZfcRbac/releases) page. +For changelog, please refer to the [releases](https://github.com/Laminas-Commons/LmcRbacMvc/releases) page. From 19dcb15e1642fd91ac8297e14e0d8a8dc40a4783 Mon Sep 17 00:00:00 2001 From: Eric Richer Date: Wed, 1 Jul 2020 12:01:41 -0400 Subject: [PATCH 3/3] Added missing badges to README.md --- README.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e87cf04a..7e7e4f15 100644 --- a/README.md +++ b/README.md @@ -1,20 +1,17 @@ # LmcRbacMvc +[![Version](https://poser.pugx.org/laminas-commons/lmc-rbac-mvc/version)](//packagist.org/packages/laminas-commons/lmc-rbac-mvc) +[![Total Downloads](https://poser.pugx.org/laminas-commons/lmc-rbac-mvc/downloads)](//packagist.org/packages/laminas-commons/lmc-rbac-mvc) +[![License](https://poser.pugx.org/laminas-commons/lmc-rbac-mvc/license)](//packagist.org/packages/laminas-commons/lmc-rbac-mvc) [![Master Branch Build Status](https://travis-ci.org/Laminas-Commons/LmcRbacMvc.svg?branch=master)](http://travis-ci.org/Laminas-Commons/LmcRbac) [![Gitter](https://badges.gitter.im/LaminasCommons/community.svg)](https://gitter.im/LaminasCommons/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) +[![Coverage Status](https://coveralls.io/repos/github/Laminas-Commons/LmcRbacMvc/badge.svg?branch=master)](https://coveralls.io/github/Laminas-Commons/LmcRbacMvc?branch=master) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Laminas-Commons/LmcRbacMvc/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Laminas-Commons/LmcRbacMvc/?branch=master) Role-based access control module to provide additional features on top of Zend\Permissions\Rbac Based on [ZF-Commons/zfc-rbac](https://github.com/ZF-Commons/zfc-rbac) v2.6.x. If you are looking for the Laminas version of zfc-rbac v3, please use [Laminas-Commons/LmcRbac](https://github.com/Laminas-Commons/LmcRbac). - - ### Important Notes: This version has breaking changes with respect to ZfcRbac v2. See the [Upgrade](#upgrade) section for details.