From d6049f8631883d6ceb62b8220cb8b82d9f8cb364 Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 00:49:17 +0100 Subject: [PATCH 1/5] Adding breaking build testing with minimum Composer dependencies --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2bf994718..5509e3970 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,8 @@ before_script: - if [[ $TRAVIS_PHP_VERSION -lt '7.0' && $TRAVIS_PHP_VERSION != 'hhv*' ]]; then phpenv config-rm xdebug.ini; fi - composer self-update - composer install --prefer-source + - if [ "$DEPENDENCIES" != "low" ]; then composer update; fi; + - if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi; script: - ENABLE_SECOND_LEVEL_CACHE=0 ./vendor/bin/phpunit -v -c tests/travis/$DB.travis.xml $PHPUNIT_FLAGS @@ -37,6 +39,10 @@ matrix: env: DB=mariadb addons: mariadb: 10.1 + - php: 7.1 + env: + - DB=sqlite + - DEPENDENCIES='low' - php: hhvm sudo: true dist: trusty From f2edf36248e405a06c654775327e4094ecc5b76d Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 01:14:38 +0100 Subject: [PATCH 2/5] Bumping doctrine/collections minimum version, to make tests pass --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index b1576b11a..fc45544c7 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require": { "php": "^7.0", "ext-pdo": "*", - "doctrine/collections": "~1.2", + "doctrine/collections": "~1.3", "doctrine/dbal": ">=2.5-dev,<2.7-dev", "doctrine/instantiator": "~1.0.1", "doctrine/common": "^2.7.1", From 60cc11461d0625c6aa6f248309972ba6c36c7909 Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 01:17:48 +0100 Subject: [PATCH 3/5] Bumping doctrine/cache minimum version, to make tests pass --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fc45544c7..7eaddba8a 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "doctrine/dbal": ">=2.5-dev,<2.7-dev", "doctrine/instantiator": "~1.0.1", "doctrine/common": "^2.7.1", - "doctrine/cache": "~1.4", + "doctrine/cache": "~1.5", "symfony/console": "~2.5|~3.0" }, "require-dev": { From f5b4e8c82338303ec4cb0b0abb1cf8aba463b05d Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 11:27:02 +0100 Subject: [PATCH 4/5] Specifying minimum version of doctrine/annotations with which tests pass --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 7eaddba8a..fc164dcc7 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "doctrine/instantiator": "~1.0.1", "doctrine/common": "^2.7.1", "doctrine/cache": "~1.5", + "doctrine/annotations": "~1.2", "symfony/console": "~2.5|~3.0" }, "require-dev": { From 7aab261c24ca86a676cda6c771577641f1962341 Mon Sep 17 00:00:00 2001 From: Sam-Burns Date: Fri, 31 Mar 2017 15:46:04 +0100 Subject: [PATCH 5/5] Switching to a PHPUnit version that doesn't throw a stty-related PHP warning on Travis --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fc164dcc7..bd8e85061 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ }, "require-dev": { "symfony/yaml": "~2.3|~3.0", - "phpunit/phpunit": "^5.4" + "phpunit/phpunit": "^5.7" }, "suggest": { "symfony/yaml": "If you want to use YAML Metadata Mapping Driver"