diff --git a/.travis.yml b/.travis.yml index 32e27d1..a4e74e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,16 @@ language: php php: - 7.1 + - 7.2 cache: directories: - $HOME/.composer/cache/files - $HOME/.composer/cache/vcs +before_install: + - composer self-update 1.10.21 + install: - cp $HOME/.phpenv/versions/$(phpenv global)/etc/conf.d/xdebug.ini /tmp # copy xdebug - phpenv config-rm xdebug.ini # remove xdebug for faster composer commands @@ -19,6 +23,3 @@ script: - composer build - phpenv config-add /tmp/xdebug.ini # reenable xdebug for coverage - composer coverage-xml - -after_success: - - bash <(curl -s https://codecov.io/bash) -f ./test/codeception/_output/coverage.xml diff --git a/README.md b/README.md index bdff3ff..d95effd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # graphql-php-query-builder [![Build Status](https://travis-ci.com/Hearst-Hatchery/graphql-php-query-builder.svg?branch=master)](https://travis-ci.com/Hearst-Hatchery/graphql-php-query-builder) -[![codecov](https://codecov.io/gh/Hearst-Hatchery/graphql-php-query-builder/branch/master/graph/badge.svg)](https://codecov.io/gh/Hearst-Hatchery/graphql-php-query-builder) Simple QueryBuilder to deconstruct array and return GraphQL string can be used to request GraphQL server diff --git a/composer.json b/composer.json index 7a2dd99..c4e8894 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,9 @@ "email": "di.tang@hearst.com" } ], - "require": {}, + "require": { + "php": "^7.1" + }, "require-dev": { "codeception/verify": "^1.0", "codeception/base": "^2.5",