Travis CI: run composer update instead of install
And ignore PHP 7.1 platform requirement, in order to get matching version of PHPUnit
This commit is contained in:
parent
d0ae1ba273
commit
e011be0170
2 changed files with 2 additions and 2 deletions
|
@ -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/}
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue