From dccb70e8ed6dea7d732a5a10d0d2c1b9f88f9e16 Mon Sep 17 00:00:00 2001 From: Steven Maguire Date: Wed, 22 Mar 2017 20:57:40 -0500 Subject: [PATCH] Update build config and code coverage flags --- .travis.yml | 5 +++-- src/Traits/ApiMethodsTrait.php | 1 + src/Traits/AuthorizationTrait.php | 2 ++ src/Traits/BatchTrait.php | 1 + src/Traits/SearchTrait.php | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c322255..875e4b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 5.5 - 5.6 - 7.0 + - 7.1 - hhvm before_script: @@ -16,7 +17,7 @@ script: - ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover after_script: - - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi - - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi + - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi + - if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.1" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi sudo: false diff --git a/src/Traits/ApiMethodsTrait.php b/src/Traits/ApiMethodsTrait.php index d789e62..9a8111f 100644 --- a/src/Traits/ApiMethodsTrait.php +++ b/src/Traits/ApiMethodsTrait.php @@ -348,6 +348,7 @@ trait ApiMethodsTrait * Retrieves currently configured http broker. * * @return Stevenmaguire\Services\Trello\Http + * @codeCoverageIgnore */ abstract public function getHttp(); diff --git a/src/Traits/AuthorizationTrait.php b/src/Traits/AuthorizationTrait.php index d23b788..402fd20 100644 --- a/src/Traits/AuthorizationTrait.php +++ b/src/Traits/AuthorizationTrait.php @@ -8,6 +8,7 @@ trait AuthorizationTrait * Retrieves currently configured authorization broker. * * @return Stevenmaguire\Services\Trello\Authorization + * @codeCoverageIgnore */ abstract public function getAuthorization(); @@ -15,6 +16,7 @@ abstract public function getAuthorization(); * Retrieves currently configured http broker. * * @return Stevenmaguire\Services\Trello\Http + * @codeCoverageIgnore */ abstract public function getHttp(); diff --git a/src/Traits/BatchTrait.php b/src/Traits/BatchTrait.php index 0c1302c..81001a8 100644 --- a/src/Traits/BatchTrait.php +++ b/src/Traits/BatchTrait.php @@ -15,6 +15,7 @@ trait BatchTrait * Retrieves currently configured http broker. * * @return Stevenmaguire\Services\Trello\Http + * @codeCoverageIgnore */ abstract public function getHttp(); diff --git a/src/Traits/SearchTrait.php b/src/Traits/SearchTrait.php index 5ddce7b..9a3d900 100644 --- a/src/Traits/SearchTrait.php +++ b/src/Traits/SearchTrait.php @@ -6,6 +6,7 @@ trait SearchTrait * Retrieves currently configured http broker. * * @return Stevenmaguire\Services\Trello\Http + * @codeCoverageIgnore */ abstract public function getHttp();