我试图在回购时使用检查器,但返回:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for laravel/dusk v6.10.0 -> satisfiable by laravel/dusk[v6.10.0].
- laravel/dusk v6.10.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
Problem 2
- Installation request for php-webdriver/webdriver 1.9.0 -> satisfiable by php-webdriver/webdriver[1.9.0].
- php-webdriver/webdriver 1.9.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
To enable extensions, verify that they are enabled in your .ini files:
- /home/scrutinizer/.phpenv/versions/7.3.15/etc/php.ini
- /home/scrutinizer/.phpenv/versions/7.3.15/etc/conf.d/pyrus.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.如何安装拉链扩展?
我试过使用此配置,但不起作用:
build:
nodes:
analysis:
dependencies:
before:
- sudo apt-get install -y php-zip
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
tests: true发布于 2020-12-20 11:32:47
发布于 2020-12-20 10:33:25
嗨
看看这个链接
例如,如果你想安装abc,你应该这样做:
build:
nodes:
some-node:
dependencies:
before:
- sudo apt-get install -y abc在您的例子中,您可以这样做:
build:
nodes:
analysis:
dependencies:
before:
- sudo apt-get install -y zip unzip php-zip
project_setup:
override:
- 'true'
tests:
override:
- php-scrutinizer-run
-
command: phpcs-run
use_website_config: true
- js-scrutinizer-run
tests: truehttps://stackoverflow.com/questions/65378898
复制相似问题