1 Star 0 Fork 44

Grand Navigation FinTech/cms

forked from liufee/cms 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
liufee 提交于 2019-10-15 00:01 . cancel travils php5.5 test
language: php
php:
#- 5.4
#- 5.5
- 5.6
#- 7.0
- 7.1
- 7.2
# - 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
- 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:
- 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
- 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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/hangzhou_hezuo_xinda/cms.git
git@gitee.com:hangzhou_hezuo_xinda/cms.git
hangzhou_hezuo_xinda
cms
cms
master

搜索帮助