From b077a3cda76cce5bd70f858f4b9095f0080f2f27 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Mon, 20 May 2013 12:42:18 -0700 Subject: [PATCH] Try Coveralls --- .travis.yml | 5 ++++- composer.json | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fa9db35..3914895 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ php: before_install: - composer self-update - - composer install + - composer install --dev --no-interaction - pyrus install pear/PHP_CodeSniffer - phpenv rehash @@ -15,6 +15,9 @@ script: - phpcs --standard=PSR2 src/ - phpunit +after_script: + - php vendor/bin/coveralls + notifications: email: recipients: diff --git a/composer.json b/composer.json index 818128e..bad733f 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,8 @@ "php": ">=5.3.1" }, "require-dev": { - "phpunit/phpunit": "3.7.*" + "phpunit/phpunit": "3.7.*", + "satooshi/php-coveralls": "dev-master" }, "autoload": { "psr-0": { "GeoIP2": "src/" }