File tree 2 files changed +20
-10
lines changed
2 files changed +20
-10
lines changed Original file line number Diff line number Diff line change @@ -2,12 +2,20 @@ dist: trusty
2
2
3
3
language : php
4
4
5
- php :
6
- - 5.5
7
- - 5.6
8
- - 7.0
9
- - 7.1
10
- - hhvm
5
+ matrix :
6
+ fast_finish : true
7
+ include :
8
+ - php : 5.5
9
+ env : GRAPHQLPHP_VERSION=0.10.*
10
+ - php : 5.6
11
+ env : GRAPHQLPHP_VERSION=0.10.*
12
+ - php : 5.6
13
+ - php : 7.0
14
+ - php : 7.1
15
+ - php : hhvm
16
+ - php : nightly
17
+ allow_failures :
18
+ - php : nightly
11
19
12
20
branches :
13
21
only :
@@ -19,11 +27,13 @@ cache:
19
27
- $HOME/.composer/cache
20
28
21
29
before_install :
22
- - if [[ "$TRAVIS_PHP_VERSION" != "7.0 " && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi
30
+ - if [[ "$TRAVIS_PHP_VERSION" != "7.1 " && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi
23
31
- composer selfupdate
32
+ - if [ "$GRAPHQLPHP_VERSION" != "" ]; then composer require "webonyx/graphql-php:${GRAPHQLPHP_VERSION}" --dev --no-update; fi;
24
33
25
- install : composer update --prefer-dist --no-interaction
34
+ install : composer update --prefer-dist --no-interaction --optimize-autoloader
26
35
27
36
script : ./bin/travis_phpunit
28
37
after_script :
29
- - if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
38
+ - if [ "$TRAVIS_PHP_VERSION" == "7.1" ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
39
+
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.10.* "
19
+ "webonyx/graphql-php" : " ^ 0.10.0 || ^0.11.0 "
20
20
},
21
21
"require-dev" : {
22
22
"fabpot/php-cs-fixer" : " ^1.11" ,
You can’t perform that action at this time.
0 commit comments