coveralls code coverage
This commit is contained in:
parent
4d93a4950b
commit
e4bccdc7b3
7 changed files with 26 additions and 1 deletions
4
.coveralls.yml
Normal file
4
.coveralls.yml
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# for php-coveralls
|
||||||
|
service_name: travis-ci
|
||||||
|
src_dir: lib
|
||||||
|
coverage_clover: build/logs/clover.xml
|
|
@ -19,3 +19,6 @@ before_script:
|
||||||
- composer install --prefer-source --dev
|
- composer install --prefer-source --dev
|
||||||
|
|
||||||
script: phpunit --configuration tests/travis/$DB.travis.xml
|
script: phpunit --configuration tests/travis/$DB.travis.xml
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- php vendor/bin/coveralls -v
|
||||||
|
|
|
@ -5,6 +5,8 @@ Master: [](http://travis-ci.org/doctrine/doctrine2)
|
2.2: [](http://travis-ci.org/doctrine/doctrine2)
|
||||||
2.1: [](http://travis-ci.org/doctrine/doctrine2)
|
2.1: [](http://travis-ci.org/doctrine/doctrine2)
|
||||||
|
|
||||||
|
Master: [](https://coveralls.io/r/doctrine/doctrine2?branch=master)
|
||||||
|
|
||||||
[](https://packagist.org/packages/doctrine/orm) [](https://packagist.org/packages/doctrine/orm)
|
[](https://packagist.org/packages/doctrine/orm) [](https://packagist.org/packages/doctrine/orm)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,8 @@
|
||||||
"symfony/console": "2.*"
|
"symfony/console": "2.*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"symfony/yaml": "2.1"
|
"symfony/yaml": "2.1",
|
||||||
|
"satooshi/php-coveralls": "dev-master"
|
||||||
},
|
},
|
||||||
"suggest": {
|
"suggest": {
|
||||||
"symfony/yaml": "If you want to use YAML Metadata Mapping Driver"
|
"symfony/yaml": "If you want to use YAML Metadata Mapping Driver"
|
||||||
|
|
|
@ -16,6 +16,10 @@
|
||||||
<var name="tmpdb_port" value="3306"/>
|
<var name="tmpdb_port" value="3306"/>
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="../../build/logs/clover.xml"/>
|
||||||
|
</logging>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Doctrine ORM Test Suite">
|
<testsuite name="Doctrine ORM Test Suite">
|
||||||
<directory>./../Doctrine/Tests/ORM</directory>
|
<directory>./../Doctrine/Tests/ORM</directory>
|
||||||
|
|
|
@ -18,6 +18,11 @@
|
||||||
<var name="tmpdb_name" value="doctrine_tests_tmp" />
|
<var name="tmpdb_name" value="doctrine_tests_tmp" />
|
||||||
<var name="tmpdb_port" value="5432"/>
|
<var name="tmpdb_port" value="5432"/>
|
||||||
</php>
|
</php>
|
||||||
|
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="../../build/logs/clover.xml"/>
|
||||||
|
</logging>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Doctrine ORM Test Suite">
|
<testsuite name="Doctrine ORM Test Suite">
|
||||||
<directory>./../Doctrine/Tests/ORM</directory>
|
<directory>./../Doctrine/Tests/ORM</directory>
|
||||||
|
|
|
@ -1,10 +1,16 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<phpunit>
|
<phpunit>
|
||||||
|
|
||||||
|
<logging>
|
||||||
|
<log type="coverage-clover" target="../../build/logs/clover.xml"/>
|
||||||
|
</logging>
|
||||||
|
|
||||||
<testsuites>
|
<testsuites>
|
||||||
<testsuite name="Doctrine ORM Test Suite">
|
<testsuite name="Doctrine ORM Test Suite">
|
||||||
<directory>./../Doctrine/Tests/ORM</directory>
|
<directory>./../Doctrine/Tests/ORM</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
</testsuites>
|
</testsuites>
|
||||||
|
|
||||||
<groups>
|
<groups>
|
||||||
<exclude>
|
<exclude>
|
||||||
<group>performance</group>
|
<group>performance</group>
|
||||||
|
|
Loading…
Add table
Reference in a new issue