Browse Source

add some services.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
pull/1/merge
Bo-Yi Wu 6 years ago
parent
commit
be4418505e
No known key found for this signature in database GPG Key ID: F84B2110C500B1F
1 changed files with 14 additions and 1 deletions
  1. +14
    -1
      .drone.yml

+ 14
- 1
.drone.yml View File

@ -5,7 +5,6 @@ clone:
tags: true tags: true
pipeline: pipeline:
frontend: frontend:
image: node:8.1.2 image: node:8.1.2
commands: commands:
@ -23,3 +22,17 @@ pipeline:
- composer -V - composer -V
- composer install --prefer-dist - composer install --prefer-dist
- ./vendor/bin/phpunit - ./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=

Loading…
Cancel
Save