Skip to content

Commit

Permalink
+ coverals
Browse files Browse the repository at this point in the history
  • Loading branch information
vantoozz committed Mar 26, 2018
1 parent ea10fa6 commit 97336d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
exit 1
fi

./bin/phpcdm src --threshold=0.01 --non-zero-exit-on-violation
./bin/phpcdm src --non-zero-exit-on-violation
if [ $? != 0 ]
then
echo "Decrease source code density"
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ script:
after_script:
- composer require satooshi/php-coveralls
- composer require codacy/coverage
- vendor/bin/coveralls -v
- vendor/bin/php-coveralls -v
- vendor/bin/codacycoverage clover build/logs/clover.xml

notifications:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@


[![Build Status](https://travis-ci.org/vantoozz/phpcdm.svg?branch=master)](https://travis-ci.org/vantoozz/phpcdm)
[![Coverage Status](https://coveralls.io/repos/github/vantoozz/phpcdm/badge.svg?branch=master)](https://coveralls.io/github/vantoozz/phpcdm?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/4b3e0816e98d486e9f0eff445a6310c6)](https://www.codacy.com/app/vantoozz/phpcdm?utm_source=github.com&utm_medium=referral&utm_content=vantoozz/phpcdm&utm_campaign=Badge_Grade)
[![Packagist](https://img.shields.io/packagist/v/vantoozz/phpcdm.svg)](https://packagist.org/packages/vantoozz/phpcdm)
[![License](https://poser.pugx.org/vantoozz/phpcdm/license)](https://packagist.org/packages/vantoozz/phpcdm)
Expand Down

0 comments on commit 97336d7

Please sign in to comment.