diff --git a/.coveralls.yml b/.coveralls.yml
new file mode 100644
index 000000000..0c0823360
--- /dev/null
+++ b/.coveralls.yml
@@ -0,0 +1,4 @@
+# for php-coveralls
+service_name: travis-ci
+src_dir: lib
+coverage_clover: build/logs/clover.xml
diff --git a/.travis.yml b/.travis.yml
index d6c3f027a..92b97851f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,3 +19,6 @@ before_script:
- composer install --prefer-source --dev
script: phpunit --configuration tests/travis/$DB.travis.xml
+
+after_script:
+ - php vendor/bin/coveralls -v
diff --git a/README.markdown b/README.markdown
index 39bde0285..b6b60ac16 100644
--- a/README.markdown
+++ b/README.markdown
@@ -5,6 +5,8 @@ Master: [](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)
diff --git a/composer.json b/composer.json
index f74058bac..8805d54a3 100644
--- a/composer.json
+++ b/composer.json
@@ -20,7 +20,8 @@
"symfony/console": "2.*"
},
"require-dev": {
- "symfony/yaml": "2.1"
+ "symfony/yaml": "2.1",
+ "satooshi/php-coveralls": "dev-master"
},
"suggest": {
"symfony/yaml": "If you want to use YAML Metadata Mapping Driver"
diff --git a/tests/travis/mysql.travis.xml b/tests/travis/mysql.travis.xml
index f17a4b87d..82559afdf 100644
--- a/tests/travis/mysql.travis.xml
+++ b/tests/travis/mysql.travis.xml
@@ -16,6 +16,10 @@
+
+
+
+
./../Doctrine/Tests/ORM
diff --git a/tests/travis/pgsql.travis.xml b/tests/travis/pgsql.travis.xml
index fa0581acb..b92f775aa 100644
--- a/tests/travis/pgsql.travis.xml
+++ b/tests/travis/pgsql.travis.xml
@@ -18,6 +18,11 @@
+
+
+
+
+
./../Doctrine/Tests/ORM
diff --git a/tests/travis/sqlite.travis.xml b/tests/travis/sqlite.travis.xml
index 5d310c327..a4c400caa 100644
--- a/tests/travis/sqlite.travis.xml
+++ b/tests/travis/sqlite.travis.xml
@@ -1,10 +1,16 @@
+
+
+
+
+
./../Doctrine/Tests/ORM
+
performance