11 Star 14 Fork 1

Gitee 极速下载/Fixhub

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/Fixhub/Fixhub
克隆/下载
.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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/mirrors/fixhub.git
git@gitee.com:mirrors/fixhub.git
mirrors
fixhub
Fixhub
1.0

搜索帮助