diff --git a/.scrutinizer.yml b/.scrutinizer.yml index 0c476b5..58e3136 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -13,4 +13,13 @@ tools: php_pdepend: excluded_dirs: [vendor/*, doc/*, tests/*] filter: - excluded_paths: [vendor/*, doc/*, tests/**] + excluded_paths: [vendor/*, doc/*, tests/*] +build_failure_conditions: + - 'elements.rating(<= C).exists' # No classes/methods with a rating of C or worse + - 'elements.rating(<= C).new.exists' # No new classes/methods with a rating of C or worse + - 'patches.label("Doc Comments").exists' # No doc comments patches allowed + - 'patches.label("Spacing").new.count > 1' # More than 1 new spacing patch + - 'issues.label("coding-style").exists' # No coding style issues allowed + - 'issues.label("coding-style").new.exists' # No new coding style issues allowed + - 'issues.severity(>= MAJOR).new.exists' # New issues of major or higher severity + - 'project.metric("scrutinizer.quality", < 9)' # Code Quality Rating drops below 9 diff --git a/README.md b/README.md index 661f9a7..eed353c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Help me out for a couple of :beers:! [![Beerpay](https://beerpay.io/Spomky-Labs/php-aes-gcm/badge.svg?style=beer-square)](https://beerpay.io/Spomky-Labs/php-aes-gcm) [![Beerpay](https://beerpay.io/Spomky-Labs/php-aes-gcm/make-wish.svg?style=flat-square)](https://beerpay.io/Spomky-Labs/php-aes-gcm?focus=wish) ---- +[![Gitter](https://badges.gitter.im/Spomky-Labs/php-aes-gcm.svg)](https://gitter.im/Spomky-Labs/php-aes-gcm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Spomky-Labs/php-aes-gcm/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Spomky-Labs/php-aes-gcm/?branch=master) [![Coverage Status](https://coveralls.io/repos/github/Spomky-Labs/php-aes-gcm/badge.svg?branch=master)](https://coveralls.io/github/Spomky-Labs/php-aes-gcm?branch=master)