1 Star 0 Fork 117

至融软件_德胜,专注高端定制研发/Piplin

forked from Piplin/Piplin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.gitlab-ci.yml 1.12 KB
一键复制 编辑 原始数据 按行查看 历史
phecho 提交于 2016-11-15 09:41 . Fixed
# Before Script
before_script:
- docker-php-ext-enable zip
- docker-php-ext-enable mbstring
- docker-php-ext-enable gd
# - docker-php-ext-enable pdo_mysql
# - ping -c 3 mysql
# - composer self-update
- composer config repo.packagist composer https://packagist.phpcomposer.com
- composer install --no-progress --no-interaction
- touch storage/database.sqlite
- cp .env.example .env
- sed -i 's/DB_CONNECTION=mysql/DB_CONNECTION=sqlite/g' .env
- sed -i 's/QUEUE_DRIVER=redis/QUEUE_DRIVER=database/g' .env
- php artisan key:generate
- php artisan migrate --seed --env="testing"
- php vendor/bin/codecept build
- make file-permission
- sleep 5
- php -S 127.0.0.1:8000 -t public/ 2>&1 >/dev/null &
after_script:
- cat storage/logs/*.log
# Services
services:
# - mysql:latest
# Variables
variables:
WITH_XDEBUG: "1"
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: homestead
MYSQL_USER: homestead
MYSQL_PASSWORD: secret
COMPOSER_HOME: /cache/composer
#Stages
stages:
- test
#PHP 7.0
php-7.0:
type: test
image: tetraweb/php:7.0
script:
- php -v
- make cs
- php vendor/bin/codecept run
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/wx_60f84e77c5/Piplin.git
git@gitee.com:wx_60f84e77c5/Piplin.git
wx_60f84e77c5
Piplin
Piplin
1.0

搜索帮助

0d507c66 1850385 C8b1a773 1850385