Included code for code climate.

This commit is contained in:
James Cole 2015-01-30 22:09:47 +01:00
parent aa246b0b2b
commit 9da69358e2
4 changed files with 12 additions and 2 deletions

View File

@ -4,6 +4,10 @@ php:
- 5.5
- 5.6
addons:
code_climate:
repo_token: 26489f9e854fcdf7e7660ba29c1455694685465b1f90329a79f7d2bf448acb61
install:
- rm composer.lock
- composer install
@ -14,4 +18,6 @@ script:
- php vendor/bin/codecept run --coverage --coverage-xml
after_script:
- cp tests/output/coverage.xml build/logs/clover.xml
- php vendor/bin/coveralls
- vendor/bin/test-reporter

View File

@ -5,6 +5,8 @@ Firefly III
[![Project Status](http://stillmaintained.com/JC5/firefly-iii.png?a=b)](http://stillmaintained.com/JC5/firefly-iii)
[![Coverage Status](https://coveralls.io/repos/JC5/firefly-iii/badge.png?branch=master)](https://coveralls.io/r/JC5/firefly-iii?branch=master)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/d44c7012-5f50-41ad-add8-8445330e4102/mini.png)](https://insight.sensiolabs.com/projects/d44c7012-5f50-41ad-add8-8445330e4102)
[![Code Climate](https://codeclimate.com/github/JC5/firefly-iii/badges/gpa.svg)](https://codeclimate.com/github/JC5/firefly-iii)
[![Test Coverage](https://codeclimate.com/github/JC5/firefly-iii/badges/coverage.svg)](https://codeclimate.com/github/JC5/firefly-iii)
[![Latest Stable Version](https://poser.pugx.org/grumpydictator/firefly-iii/v/stable.svg)](https://packagist.org/packages/grumpydictator/firefly-iii)
[![Total Downloads](https://poser.pugx.org/grumpydictator/firefly-iii/downloads.svg)](https://packagist.org/packages/grumpydictator/firefly-iii)

1
build/logs/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.xml

View File

@ -31,7 +31,7 @@
"require-dev": {
"barryvdh/laravel-debugbar": "@stable",
"barryvdh/laravel-ide-helper": "@stable",
"satooshi/php-coveralls": "dev-master",
"satooshi/php-coveralls": "*",
"mockery/mockery": "@stable",
"league/factory-muffin": "~2.1",
"codeception/codeception": "*",
@ -41,7 +41,8 @@
"codeception/phpbuiltinserver": "*",
"codeception/specify": "*",
"codeception/verify": "*",
"fzaninotto/faker": "1.*"
"fzaninotto/faker": "1.*",
"codeclimate/php-test-reporter": "dev-master"
},