]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Travis CI: run composer update instead of install
authorArthurHoaro <arthur@hoa.ro>
Sat, 26 Sep 2020 12:33:27 +0000 (14:33 +0200)
committerArthurHoaro <arthur@hoa.ro>
Sat, 26 Sep 2020 12:33:27 +0000 (14:33 +0200)
And ignore PHP 7.1 platform requirement, in order to get matching version of PHPUnit

.travis.yml
composer.json

index fb95235c47e9df69da16db1ce9eb230832f861a2..afccce0836fea7f0935ca9c308b3583e13effb90 100644 (file)
@@ -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/}
index 738d9f5887f1a72b5b5b538ec6e03a7687db05df..35043fd23c9b7d84c6016b54a956c239bb08ea31 100644 (file)
@@ -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": {