File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,18 @@ matrix:
6
6
fast_finish : true
7
7
include :
8
8
- php : 5.5
9
- # - php: 5.6
10
- # env: GRAPHQLPHP_VERSION=0.10.*
11
9
- php : 5.6
12
10
- php : 7.0
13
11
- php : 7.1
12
+ - php : 7.1
13
+ env : COMPOSER_UPDATE_FLAGS=--prefer-lowest
14
14
- php : 7.2
15
15
- php : hhvm
16
16
- php : nightly
17
+ env : COMPOSER_UPDATE_FLAGS=--ignore-platform-reqs
17
18
allow_failures :
18
19
- php : nightly
20
+ env : COMPOSER_UPDATE_FLAGS=--ignore-platform-reqs
19
21
20
22
branches :
21
23
only :
@@ -27,11 +29,11 @@ cache:
27
29
- $HOME/.composer/cache
28
30
29
31
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
31
33
- composer selfupdate
32
34
- if [ "$GRAPHQLPHP_VERSION" != "" ]; then composer require "webonyx/graphql-php:${GRAPHQLPHP_VERSION}" --dev --no-update; fi;
33
35
34
- install : composer update --prefer-dist --no-interaction --optimize-autoloader
36
+ install : composer update --prefer-source --no-interaction --optimize-autoloader ${COMPOSER_UPDATE_FLAGS}
35
37
36
38
script : ./bin/travis_phpunit
37
39
after_script :
Original file line number Diff line number Diff line change 16
16
},
17
17
"require" : {
18
18
"php" : " ^5.4|~7.0" ,
19
- "webonyx/graphql-php" : " ^0.11.0 "
19
+ "webonyx/graphql-php" : " ^0.11.2 "
20
20
},
21
21
"require-dev" : {
22
22
"fabpot/php-cs-fixer" : " ^1.11" ,
23
23
"phpunit/phpunit" : " ^4.1|^5.1" ,
24
24
"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 "
29
29
},
30
30
"autoload" : {
31
31
"psr-4" : {
You can’t perform that action at this time.
0 commit comments