From ae27e961ded19bda7c4b5e3215dd77c2298d6fd8 Mon Sep 17 00:00:00 2001 From: dee2716 Date: Thu, 15 Apr 2021 16:56:37 -0400 Subject: [PATCH 1/4] Remove Codecov --- .travis.yml | 3 --- README.md | 1 - 2 files changed, 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 32e27d1..8bff089 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,6 +19,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 From 995898f4c37cf5678d1af87e1aa71074241d0955 Mon Sep 17 00:00:00 2001 From: dee2716 Date: Thu, 22 Apr 2021 14:43:34 -0400 Subject: [PATCH 2/4] add php require --- .travis.yml | 3 +++ composer.json | 4 +++- composer.lock | 9 ++++++--- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8bff089..c3485f1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,9 @@ language: php php: - 7.1 + - 7.2 + - 7.3 + - 7.4 cache: directories: 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", diff --git a/composer.lock b/composer.lock index 80aff8d..c9a65f8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bc5085edd56caba85771063f35b264cc", + "content-hash": "a9ff4b95674af786798c2dc1198791ab", "packages": [], "packages-dev": [ { @@ -3099,6 +3099,9 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": [], - "platform-dev": [] + "platform": { + "php": "^7.1" + }, + "platform-dev": [], + "plugin-api-version": "1.1.0" } From a721a5535643b93bc15cf56471e46084bb6852c7 Mon Sep 17 00:00:00 2001 From: dee2716 Date: Thu, 22 Apr 2021 17:13:54 -0400 Subject: [PATCH 3/4] only php71 php72, remove lock change --- .travis.yml | 2 -- composer.lock | 9 +++------ 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index c3485f1..a0112e6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,6 @@ language: php php: - 7.1 - 7.2 - - 7.3 - - 7.4 cache: directories: diff --git a/composer.lock b/composer.lock index c9a65f8..80aff8d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a9ff4b95674af786798c2dc1198791ab", + "content-hash": "bc5085edd56caba85771063f35b264cc", "packages": [], "packages-dev": [ { @@ -3099,9 +3099,6 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": { - "php": "^7.1" - }, - "platform-dev": [], - "plugin-api-version": "1.1.0" + "platform": [], + "platform-dev": [] } From ac4c147e22364ac3a9cbc8b929a36084725a9e93 Mon Sep 17 00:00:00 2001 From: dee2716 Date: Thu, 22 Apr 2021 17:33:45 -0400 Subject: [PATCH 4/4] self-update composer to v1 --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index a0112e6..a4e74e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,9 @@ cache: - $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