From d16a3df4adfc40b227ed11ed57ed92fe6386f4af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=BCrth?= Date: Mon, 18 May 2015 20:24:20 +0200 Subject: [PATCH] Do not call ocular in PHP 7.0 and HHVM We cannot be dead certain that those support code coverage, so they would break the Scrutinizer build the following message "Scrutinizer was notified that the tests failed." even though all builds succeeded. At the moment HHVM seems to work, excluding it nonetheless. Also now it correlates with three runs configured in https://github.com/thephpleague/skeleton/blob/13bd2abaeb4bbfac119533e4373a6975222922f8/.scrutinizer.yml#L23 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 77254fa..4621b02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,4 +22,4 @@ script: - phpunit --coverage-text --coverage-clover=coverage.clover after_script: - - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover + - if [[ $TRAVIS_PHP_VERSION != 'hhvm' && $TRAVIS_PHP_VERSION != '7.0' ]]; then php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover; fi