diff --git a/.travis.yml b/.travis.yml index 1801ac1aa..3ade7065a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ matrix: - DB=PGSQL - PHPCS_TEST=1 - PHPUNIT_TEST=framework + - COMPOSER_INSTALL_ARG="--prefer-lowest" - php: 7.2 env: @@ -88,7 +89,7 @@ before_script: - composer require silverstripe/recipe-testing:^1 silverstripe/recipe-core:4.x-dev silverstripe/admin:1.x-dev silverstripe/versioned:1.x-dev --no-update - if [[ $PHPUNIT_TEST == cms ]]; then composer require silverstripe/recipe-cms:4.x-dev --no-update; fi - if [[ $PHPCS_TEST ]]; then composer global require squizlabs/php_codesniffer:^3 --prefer-dist --no-interaction --no-progress --no-suggest -o; fi - - composer install --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile $COMPOSER_INSTALL_ARG + - composer update --prefer-source --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile $COMPOSER_INSTALL_ARG # Log constants to CI for debugging purposes - php ./tests/dump_constants.php diff --git a/composer.json b/composer.json index 56c3d5dd0..30c133cd7 100644 --- a/composer.json +++ b/composer.json @@ -28,8 +28,8 @@ "league/csv": "^8 || ^9", "league/flysystem": "~1.0.12", "m1/env": "^2.1", - "monolog/monolog": "~1.11", - "nikic/php-parser": "^2 || ^3 || ^4", + "monolog/monolog": "~1.16", + "nikic/php-parser": "^3 || ^4", "psr/container": "1.0.0", "psr/container-implementation": "1.0.0", "silverstripe/config": "^1@dev",