代码拉取完成,页面将自动刷新
同步操作将从 liufee/cms 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
language: php
php:
#- 5.4
#- 5.5
- 5.6
#- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
# - hhvm
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- $HOME/.composer/cache
services:
- mysql
install:
- travis_retry composer self-update && composer --version && composer clearcache
- travis_retry composer update --prefer-dist --no-interaction
# setup application:
- |
./init --env=Development
sed -i s/root/travis/ common/config/main-local.php
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" frontend/config/main.php
sed -i "s/'cookieValidationKey' => ''/'cookieValidationKey' => 'testkey'/" backend/config/main.php
before_script:
- sudo service mysql start
- mysql -e 'CREATE DATABASE cms_test;'
- echo "extension = imagick.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- printf "\n" | pecl install -f imagick
- php yii_test migrate --interactive=0 frontendUri=//localhost adminUsername=admin adminPassword=123456
- cp -rf api/tests/acceptance.suite.yml.example api/tests/acceptance.suite.yml
- cp -rf api/tests/functional.suite.yml.example api/tests/functional.suite.yml
- cd frontend/web && php -S 0.0.0.0:8888 &
script:
- vendor/bin/codecept run
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。