mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-02-19 05:43:13 +03:00
Merge branch 'master' of https://github.com/webonyx/graphql-php
This commit is contained in:
commit
00060a142a
19
.travis.yml
19
.travis.yml
@ -7,14 +7,23 @@ php:
|
|||||||
- 7.0
|
- 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
- hhvm
|
- hhvm
|
||||||
|
- nightly
|
||||||
|
|
||||||
|
allow_failures:
|
||||||
|
- php: nightly
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- if [[ "$TRAVIS_PHP_VERSION" != "5.6" && "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini || true; fi
|
||||||
|
- composer selfupdate
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- composer install --dev --prefer-dist
|
- composer install --dev --prefer-dist
|
||||||
|
|
||||||
script:
|
script: if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then phpunit --coverage-clover build/logs/clover.xml; else phpunit; fi
|
||||||
- mkdir -p build/logs
|
|
||||||
- bin/phpunit -c phpunit.xml.dist --coverage-clover build/logs/clover.xml
|
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- composer require "satooshi/php-coveralls:^1.0"
|
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then composer require "satooshi/php-coveralls:^1.0" && travis_retry php bin/coveralls -v; fi
|
||||||
- travis_retry php bin/coveralls -v
|
|
||||||
|
@ -9,7 +9,8 @@
|
|||||||
"API"
|
"API"
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.4,<8.0-DEV"
|
"php": ">=5.4,<8.0-DEV",
|
||||||
|
"ext-mbstring": "*"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^4.8"
|
"phpunit/phpunit": "^4.8"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user