From b41ec8484d3aa8922bcffc3b36c7b8958b498119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Qu=C3=A9m=C3=A9ner?= Date: Mon, 21 May 2018 15:08:57 +0200 Subject: [PATCH 1/2] Added support with Symfony Process 4.* --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 222cad5..a6c09ca 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ ], "require": { "php": ">=5.5", - "symfony/process": "^2.5|^3.0" + "symfony/process": "^2.5|^3.0|^4.0" }, "require-dev": { "phpunit/phpunit": "^4.8.24", From 0646fc75a8ead3b2230464d22f560f69d839eb21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gildas=20Qu=C3=A9m=C3=A9ner?= Date: Mon, 21 May 2018 15:24:53 +0200 Subject: [PATCH 2/2] Installed Symfony4 with PHP 7 on Travis --- .travis.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9c5a990..c7b7c6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,18 +13,27 @@ matrix: include: - php: 5.5 env: - - COMPOSER_FLAGS="--prefer-stable --prefer-lowest" - - PHPUNIT_FLAGS="--coverage-clover build/logs/clover.xml" + - DEPENDENCIES='low' + - php: 5.6 + env: + - DEPENDENCIES='low' + - php: 7.0 + env: + - SYMFONY_VERSION='^4.0' + - php: 7.1 + env: + - SYMFONY_VERSION='^4.0' before_install: - travis_retry composer self-update install: - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction + - if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update "symfony/process:${SYMFONY_VERSION}"; fi; + - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; + - if [ "$DEPENDENCIES" = "low" ]; then composer update --prefer-lowest; fi; script: - - mkdir -p build/logs - - vendor/bin/phpunit ${PHPUNIT_FLAGS} + - vendor/bin/phpunit after_script: - php vendor/bin/coveralls -v