1 Star 0 Fork 0

胖子AK / ec-cube

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
appveyor.yml 2.08 KB
一键复制 编辑 原始数据 按行查看 历史
hideki_okajima 提交于 2018-11-06 13:24 . AppVeyor を動くよう修正
# appveyor file
# http://www.appveyor.com/docs/appveyor-yml
# Set build version format here instead of in the admin panel.
version: 3.0.x-{build}
clone_folder: c:\projects\ec-cube
cache:
- '%LOCALAPPDATA%\Composer\files'
- vendor
# Fix line endings in Windows. (runs before repo cloning)
init:
- git config --global core.autocrlf input
environment:
global:
USER: "root"
DBNAME: "myapp_test"
DBPASS: "Password12!"
DBUSER: "root"
BASE_DIR: "C:/projects/ec-cube"
matrix:
- db: mysql
provider: mysql
services:
- mysql
# Install scripts. (runs after repo cloning)
install:
- cp phpunit.xml.dist phpunit.xml
# see https://github.com/phpmd/phpmd/blob/master/appveyor.yml#L10-L13
- cinst -y OpenSSL.Light --version 1.1.1
- SET PATH=C:\Program Files\OpenSSL;%PATH%
- sc config wuauserv start= auto
- net start wuauserv
# Set MySQL.
- cp tests/my.cnf c:\
- SET PATH=C:\Program Files\MySql\MySQL Server 5.7\bin\;%PATH%
#- cinst mysql
#- SET PATH=C:\tools\mysql\current\bin\;%PATH%
# Set PHP.
- cinst php --version 7.1.20 --allow-empty-checksums
- SET PATH=C:\tools\php71\;%PATH%
- copy C:\tools\php71\php.ini-production C:\tools\php71\php.ini
- echo date.timezone="Asia/Tokyo" >> C:\tools\php71\php.ini
- echo extension_dir=ext >> C:\tools\php71\php.ini
- echo extension=php_openssl.dll >> C:\tools\php71\php.ini
- echo extension=php_gd2.dll >> C:\tools\php71\php.ini
- echo extension=php_mbstring.dll >> C:\tools\php71\php.ini
- echo extension=php_pgsql.dll >> C:\tools\php71\php.ini
- echo extension=php_pdo_mysql.dll >> C:\tools\php71\php.ini
- echo extension=php_pdo_pgsql.dll >> C:\tools\php71\php.ini
- echo extension=php_curl.dll >> C:\tools\php71\php.ini
- echo extension=php_fileinfo.dll >> C:\tools\php71\php.ini
- echo memory_limit = 512M >> C:\tools\php71\php.ini
- php -r "readfile('http://getcomposer.org/installer');" | php
- php composer.phar install --dev --no-interaction -o
# Don't actually build.
build: off
before_test:
- php eccube_install.php mysql none
test_script:
- vendor\bin\phpunit.bat -c phpunit.xml
1
https://gitee.com/dokak47/ec-cube.git
git@gitee.com:dokak47/ec-cube.git
dokak47
ec-cube
ec-cube
3.0

搜索帮助