Skip to content

Commit

Permalink
Added Coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Timoshenko committed May 5, 2013
1 parent d3aa934 commit 987b836
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 14 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ php:

before_script: composer install --dev

script: phpunit --coverage-text
script: phpunit

after_script: php vendor/bin/coveralls

notifications:
email:
- igor.timoshenko@i.ua
- igor.timoshenko@i.ua
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/IgorTimoshenko/IMTDataGrid.png?branch=master)](https://travis-ci.org/IgorTimoshenko/IMTDataGrid)
[![Coverage Status](https://coveralls.io/repos/IgorTimoshenko/IMTDataGrid/badge.png?branch=master)](https://coveralls.io/r/IgorTimoshenko/IMTDataGrid)

# IMTDataGrid #

Expand Down Expand Up @@ -30,19 +31,15 @@ Then, you can install the new dependencies by running [Composer][1]'s update
command from the directory where your `composer.json` file is located:

```sh
$ composer.phar update imt/data-grid
$ php composer.phar update imt/data-grid
```

Now, [Composer][1] will automatically download all required files, and install
them for you.

## Usage ##

...

## License ##

This libray is released under the MIT license. See the complete license in the
`LICENSE` file that was distributed with this source code.
`LICENSE` file that is distributed with this source code.

[1]: http://getcomposer.org
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@
"doctrine/orm": ">=2.2,<2.4-dev"
},
"require-dev": {
"symfony/http-foundation": ">=2.0"
"symfony/http-foundation": ">=2.0",
"satooshi/php-coveralls": "v0.6.1"
},
"autoload": {
"psr-0": {
"IMT\\DataGrid": "src/"
}
},
"minimum-stability": "dev"
}
}
7 changes: 5 additions & 2 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="tests/bootstrap.php">
syntaxCheck="false">
<testsuites>
<testsuite name="IMTDataGrid Test Suite">
<directory>./tests</directory>
Expand All @@ -23,4 +23,7 @@
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
4 changes: 2 additions & 2 deletions src/IMT/DataGrid/HttpFoundation/JqGridRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

namespace IMT\DataGrid\HttpFoundation;

use IMT\DataGrid\Filter\Builder\FilterBuilder;

use Symfony\Component\HttpFoundation\Request;

use IMT\DataGrid\Filter\Builder\FilterBuilder;

/**
* This class represents the data grid request for jqGrid
*
Expand Down

0 comments on commit 987b836

Please sign in to comment.