Skip to content

Commit 8eeb904

Browse files
authored
Merge pull request #21 from mcg-web/add-prefer-lower
Fix minimal version of graphql-php
2 parents c7107b1 + 869c05f commit 8eeb904

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ matrix:
66
fast_finish: true
77
include:
88
- php: 5.5
9-
# - php: 5.6
10-
# env: GRAPHQLPHP_VERSION=0.10.*
119
- php: 5.6
1210
- php: 7.0
1311
- php: 7.1
12+
- php: 7.1
13+
env: COMPOSER_UPDATE_FLAGS=--prefer-lowest
1414
- php: 7.2
1515
- php: hhvm
1616
- php: nightly
17+
env: COMPOSER_UPDATE_FLAGS=--ignore-platform-reqs
1718
allow_failures:
1819
- php: nightly
20+
env: COMPOSER_UPDATE_FLAGS=--ignore-platform-reqs
1921

2022
branches:
2123
only:
@@ -27,11 +29,11 @@ cache:
2729
- $HOME/.composer/cache
2830

2931
before_install:
30-
- if [[ "$TRAVIS_PHP_VERSION" != "7.1" && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini || true; fi
32+
- if [[ "$TRAVIS_PHP_VERSION" != "7.1=" && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini || true; fi
3133
- composer selfupdate
3234
- if [ "$GRAPHQLPHP_VERSION" != "" ]; then composer require "webonyx/graphql-php:${GRAPHQLPHP_VERSION}" --dev --no-update; fi;
3335

34-
install: composer update --prefer-dist --no-interaction --optimize-autoloader
36+
install: composer update --prefer-source --no-interaction --optimize-autoloader ${COMPOSER_UPDATE_FLAGS}
3537

3638
script: ./bin/travis_phpunit
3739
after_script:

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
},
1717
"require": {
1818
"php": "^5.4|~7.0",
19-
"webonyx/graphql-php": "^0.11.0"
19+
"webonyx/graphql-php": "^0.11.2"
2020
},
2121
"require-dev": {
2222
"fabpot/php-cs-fixer": "^1.11",
2323
"phpunit/phpunit": "^4.1|^5.1",
2424
"sllh/php-cs-fixer-styleci-bridge": "^1.5",
25-
"symfony/expression-language": "^2.7|^3.0",
26-
"symfony/filesystem": "^2.7|^3.0",
27-
"symfony/process": "^2.7|^3.0",
28-
"symfony/yaml": "^2.7|^3.0"
25+
"symfony/expression-language": "^3.3",
26+
"symfony/filesystem": "^3.3",
27+
"symfony/process": "^3.3",
28+
"symfony/yaml": "^3.3"
2929
},
3030
"autoload": {
3131
"psr-4": {

0 commit comments

Comments
 (0)