加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
appveyor.yml 1.50 KB
一键复制 编辑 原始数据 按行查看 历史
PabloKowalczyk 提交于 2020-10-02 14:34 . Use composer v2 (#320)
build: false
platform:
- x64
clone_folder: c:\projects\crunz
environment:
matrix:
- dependencies: low
php_ver_target: 7.2.23
- dependencies: high
php_ver_target: 7.2.23
init:
- SET PATH=C:\Program Files\OpenSSL;c:\tools\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET PHP=1 # This var is connected to PHP install cache
- SET ANSICON=121x90 (121x90)
install:
- IF EXIST c:\tools\php (SET PHP=0) # Checks for the PHP install being cached
- ps: appveyor-retry choco install php --version $env:php_ver_target -y --no-progress --package-parameters='"/InstallDir:C:\tools\php"'
- cd c:\tools\php
- IF %PHP%==1 copy php.ini-production php.ini /Y
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini
- IF %PHP%==1 echo extension=php_mbstring.dll >> php.ini
- IF %PHP%==1 echo extension=php_fileinfo.dll >> php.ini
- IF %PHP%==1 echo extension=php_curl.dll >> php.ini
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
- appveyor-retry appveyor DownloadFile https://getcomposer.org/download/2.0.0-RC1/composer.phar
- cd c:\projects\crunz
- IF %dependencies%==low appveyor-retry composer update --prefer-lowest --no-progress -n
- IF %dependencies%==high appveyor-retry composer update --no-progress -n
- composer show
## Run the actual test
test_script:
- cd c:\projects\crunz
- vendor/bin/phpunit
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化