开源中国 2018 年度最后一场技术盛会邀你来约~错过就要等明年啦!点此立即预约

GVPPiplin / PiplinPHP

Watch 110 Star 299 Fork 71
加入码云
与超过 300 万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
Piplin是一款免费、开源的持续集成与部署系统,适用于软件的自动化构建、测试和部署相关的各种应用场景 - 官方QQ群:656868 展开 收起

https://github.com/Piplin/Piplin

.gitlab-ci.yml 1.12 KB
一键复制 编辑 Web IDE 原始数据 按行查看 历史
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

评论 ( 0 )

你可以在登录后,发表评论

搜索帮助

12_float_left_people 12_float_left_close