Skip to content

Commit 67ba33d

Browse files
author
Darryl Kuhn
committed
added support for code climate
1 parent ae44c3c commit 67ba33d

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ matrix:
1010

1111
before_script:
1212
- composer self-update
13-
- composer install --dev --prefer-dist --no-interaction
13+
- composer install --prefer-dist --no-interaction
1414

15-
script: phpunit --coverage-text
15+
script: phpunit --coverage-clover build/logs/clover.xml
16+
17+
script: CODECLIMATE_REPO_TOKEN=a8b5ee59cd6658ea5710614ec4285cdc81084aeee33f531bd30d1e317c88257c ./vendor/bin/test-reporter

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Dialect
22

3-
[![Build Status](https://travis-ci.org/darrylkuhn/dialect.svg?branch=master)](https://travis-ci.org/darrylkuhn/dialect)
3+
[![Build Status](https://travis-ci.org/darrylkuhn/dialect.svg?branch=master)](https://travis-ci.org/darrylkuhn/dialect) [![Code Climate](https://codeclimate.com/github/darrylkuhn/dialect/badges/gpa.svg)](https://codeclimate.com/github/darrylkuhn/dialect) [![Test Coverage](https://codeclimate.com/github/darrylkuhn/dialect/badges/coverage.svg)](https://codeclimate.com/github/darrylkuhn/dialect)
44

55
Dialect provides JSON datatype support for the [Eloquent ORM](http://laravel.com/docs/eloquent).
66

composer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"require-dev": {
1818
"phpunit/phpunit": "~4.0",
1919
"illuminate/database": "~4.0|5.0.*@dev",
20-
"symfony/process": "~2.3"
20+
"symfony/process": "~2.3",
21+
"codeclimate/php-test-reporter": "dev-master"
2122
},
2223
"autoload": {
2324
"psr-4": {

0 commit comments

Comments
 (0)