diff --git a/.travis.yml b/.travis.yml index 68b2250..6738e1d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,12 +11,15 @@ cache: - .phpunit env: - global: SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml" + global: + - SYMFONY_DEPRECATIONS_HELPER="/.*each.*/" + - SYMFONY_PHPUNIT_DIR=.phpunit SYMFONY_PHPUNIT_REMOVE="symfony/yaml" + - SYMFONY_PHPUNIT_VERSION=5.7 matrix: + matrix: SYMFONY_VERSION=4.0.* include: - php: 7.1 - env: DEPS=dev - php: 7.1 env: COMPOSER_FLAGS="--prefer-lowest" REQUIREMENTS="phpcr/phpcr:2.1.2" fast_finish: true diff --git a/composer.json b/composer.json index 17b6c94..fa10c7a 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,8 @@ "jackalope/jackalope-doctrine-dbal": "^1.2", "sonata-project/admin-bundle": "^3.1", "sylius/resource-bundle": "^0.18", - "doctrine/phpcr-odm": "^1.4", - "symfony/phpunit-bridge": "^3.2" + "symfony/phpunit-bridge": "^3.3 || ^4.0", + "doctrine/phpcr-odm": "^1.4|^2.0" }, "suggest": { "doctrine/phpcr-odm": "To enable support for the PHPCR ODM documents",