12 Star 17 Fork 3

kzeng / yii2-app-kit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
kzeng 提交于 2016-03-19 22:38 . add richeditor plugin
language: php
php:
- 5.5
- 5.6
- 7.0
# - hhvm
# faster builds on new travis setup not using sudo
sudo: false
# cache vendor dirs
cache:
directories:
- $HOME/.composer/cache
install:
- travis_retry composer self-update && composer --version
- travis_retry composer global require "fxp/composer-asset-plugin:~1.1.0"
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --dev --prefer-dist --no-interaction
# codeception
- travis_retry composer global require "codeception/codeception:^2.0" "codeception/specify" "codeception/verify"
# setup application:
- |
cp .env.dist .env
cp vhost.conf.dist vhost.conf
sed -i s/yii2-starter-kit\.dev/localhost:8080/ .env
php console/yii app/setup --interactive=0
cd tests/codeception/backend && codecept build
cd ../common && codecept build
cd ../console && codecept build
cd ../frontend && codecept build
cd ../../../
before_script:
- mysql -e 'CREATE DATABASE `yii2-starter-kit`;';
- cd tests/codeception/bin && php yii migrate --interactive=0 && php yii rbac-migrate --interactive=0 && cd ../../..
script:
- |
php -S localhost:8080 > /dev/null 2>&1 &
cd tests
codecept run
PHP
1
https://gitee.com/kzeng/yii2-app-kit.git
git@gitee.com:kzeng/yii2-app-kit.git
kzeng
yii2-app-kit
yii2-app-kit
master

搜索帮助