Skip to content

Commit

Permalink
Update build config and code coverage flags
Browse files Browse the repository at this point in the history
stevenmaguire committed Mar 23, 2017
1 parent 50a9e62 commit dccb70e
Showing 5 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions src/Traits/ApiMethodsTrait.php
Original file line number Diff line number Diff line change
@@ -348,6 +348,7 @@ trait ApiMethodsTrait
* Retrieves currently configured http broker.
*
* @return Stevenmaguire\Services\Trello\Http
* @codeCoverageIgnore
*/
abstract public function getHttp();

2 changes: 2 additions & 0 deletions src/Traits/AuthorizationTrait.php
Original file line number Diff line number Diff line change
@@ -8,13 +8,15 @@ trait AuthorizationTrait
* Retrieves currently configured authorization broker.
*
* @return Stevenmaguire\Services\Trello\Authorization
* @codeCoverageIgnore
*/
abstract public function getAuthorization();

/**
* Retrieves currently configured http broker.
*
* @return Stevenmaguire\Services\Trello\Http
* @codeCoverageIgnore
*/
abstract public function getHttp();

1 change: 1 addition & 0 deletions src/Traits/BatchTrait.php
Original file line number Diff line number Diff line change
@@ -15,6 +15,7 @@ trait BatchTrait
* Retrieves currently configured http broker.
*
* @return Stevenmaguire\Services\Trello\Http
* @codeCoverageIgnore
*/
abstract public function getHttp();

1 change: 1 addition & 0 deletions src/Traits/SearchTrait.php
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ trait SearchTrait
* Retrieves currently configured http broker.
*
* @return Stevenmaguire\Services\Trello\Http
* @codeCoverageIgnore
*/
abstract public function getHttp();

0 comments on commit dccb70e

Please sign in to comment.