From 7db2ee4cbf494376bae9321152dbeef160a38083 Mon Sep 17 00:00:00 2001 From: wapmorgan Date: Mon, 9 Jan 2017 12:20:59 +0300 Subject: [PATCH] Update coverage --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b6219a..3843489 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,5 +14,5 @@ script: - phpunit --coverage-clover coverage.clover ./tests/ after_script: -- if [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" != "5.4" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi -- if [ "$TRAVIS_PHP_VERSION" == "5.5" ] || [ "$TRAVIS_PHP_VERSION" != "5.4" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi +- if [[ "$TRAVIS_PHP_VERSION" == "5.5"* ]] || [[ "$TRAVIS_PHP_VERSION" == "5.4"* ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi +- if [[ "$TRAVIS_PHP_VERSION" == "5.5"* ]] || [[ "$TRAVIS_PHP_VERSION" == "5.4"* ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi