Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix minimal version of graphql-php #21

Merged
merged 1 commit into from
Dec 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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