You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

40 lines
765 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
- php artisan key:generate
- composer install --prefer-dist
- ./vendor/bin/phpunit
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:5.3.0
redis:
image: redis:latest
postgres:
image: postgres:9.5.5
environment:
- POSTGRES_DB=test
- POSTGRES_USER=test
- POSTGRES_PASSWORD=