您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

39 行
703 B

clone:
git:
image: plugins/git
depth: 50
tags: true
pipeline:
frontend:
image: node:8.1.2
commands:
- node -v
- npm -v
- yarn --version
- yarn config set cache-folder .yarn-cache
- yarn install
- yarn run production
backend:
image: laradock/workspace:1.8-71
commands:
- php -v
- composer -V
- cp .env.example .env
- composer install --prefer-dist
- ./vendor/bin/phpunit
services:
elasticsearch:
context: docker/elasticsearch
redis:
image: redis:latest
postgres:
image: postgres:9.5.5
environment:
- POSTGRES_DB=test
- POSTGRES_USER=test
- POSTGRES_PASSWORD=