Skip to content

Commit

Permalink
Fix minimal version of graphql-php
Browse files Browse the repository at this point in the history
  • Loading branch information
mcg-web committed Dec 13, 2017
1 parent c7107b1 commit 869c05f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ matrix:
fast_finish: true
include:
- php: 5.5
# - php: 5.6
# env: GRAPHQLPHP_VERSION=0.10.*
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.1
env: COMPOSER_UPDATE_FLAGS=--prefer-lowest
- php: 7.2
- php: hhvm
- php: nightly
env: COMPOSER_UPDATE_FLAGS=--ignore-platform-reqs
allow_failures:
- php: nightly
env: COMPOSER_UPDATE_FLAGS=--ignore-platform-reqs

branches:
only:
Expand All @@ -27,11 +29,11 @@ cache:
- $HOME/.composer/cache

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

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

script: ./bin/travis_phpunit
after_script:
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
},
"require": {
"php": "^5.4|~7.0",
"webonyx/graphql-php": "^0.11.0"
"webonyx/graphql-php": "^0.11.2"
},
"require-dev": {
"fabpot/php-cs-fixer": "^1.11",
"phpunit/phpunit": "^4.1|^5.1",
"sllh/php-cs-fixer-styleci-bridge": "^1.5",
"symfony/expression-language": "^2.7|^3.0",
"symfony/filesystem": "^2.7|^3.0",
"symfony/process": "^2.7|^3.0",
"symfony/yaml": "^2.7|^3.0"
"symfony/expression-language": "^3.3",
"symfony/filesystem": "^3.3",
"symfony/process": "^3.3",
"symfony/yaml": "^3.3"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 869c05f

Please sign in to comment.