From ed7b0255bb32748d4c43d9a6b73376b30cc96bd0 Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Wed, 4 Feb 2015 23:19:18 +0000 Subject: [PATCH] Add Ocular as dev-dependency, fixes HHVM issues too apparently --- .travis.yml | 3 +-- composer.json | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index fd8efe8..440ee3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,5 +15,4 @@ script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover coverage.clover + - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover diff --git a/composer.json b/composer.json index b1054f1..1781208 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,8 @@ "php" : ">=5.3.0" }, "require-dev": { - "phpunit/phpunit" : "4.*" + "phpunit/phpunit" : "4.*", + "scrutinizer/ocular": "~1.1" }, "autoload": { "psr-4": {