Permalink
Browse files

Add Coveralls configuration

  • Loading branch information...
1 parent 74c9046 commit 071a2e34d0344fc60507d3aa7413fbdf0be72f34 Ian Li committed Sep 3, 2013
Showing with 11 additions and 1 deletion.
  1. +8 −1 .travis.yml
  2. +3 −0 composer.json
View
@@ -5,4 +5,11 @@ php:
- 5.4
- 5.5
-script: phpunit --coverage-text
+before_script:
+ - curl -s http://getcomposer.org/installer | php
+ - php composer.phar install --dev --no-interaction
+
+script: phpunit --coverage-clover build/logs/clover.xml
+
+after_script:
+ - php vendor/bin/coveralls -v
View
@@ -18,6 +18,9 @@
"require": {
"php": ">=5.3.0"
},
+ "require-dev": {
+ "satooshi/php-coveralls": "dev-master"
+ },
"autoload": {
"psr-0": { "": "src/" }
}

0 comments on commit 071a2e3

Please sign in to comment.