From: ArthurHoaro Date: Sat, 26 Sep 2020 12:33:27 +0000 (+0200) Subject: Travis CI: run composer update instead of install X-Git-Tag: v0.12.0-beta-1~5^2~3 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=e011be01701e7f0f2bee9a5de3f062a5ca1b17df Travis CI: run composer update instead of install And ignore PHP 7.1 platform requirement, in order to get matching version of PHPUnit --- diff --git a/.travis.yml b/.travis.yml index fb95235c..afccce08 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,7 +43,7 @@ cache: install: # install/update composer and php dependencies - - composer install --prefer-dist + - composer update --ignore-platform-reqs before_script: - PATH=${PATH//:\.\/node_modules\/\.bin/} diff --git a/composer.json b/composer.json index 738d9f58..35043fd2 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "require-dev": { "roave/security-advisories": "dev-master", "phpunit/phpcov": "*", - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0", "squizlabs/php_codesniffer": "3.*" }, "suggest": {