19 lines
374 B
YAML
19 lines
374 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: Tests
|
|
image: docker/compose:1.29.2
|
|
commands:
|
|
- docker-compose run --rm db-migrations
|
|
- docker-compose up -d
|
|
- docker-compose run --rm tests
|
|
volumes:
|
|
- name: docker-sock
|
|
path: /var/run/docker.sock
|
|
|
|
volumes:
|
|
- name: docker-sock
|
|
host:
|
|
path: /var/run/docker.sock |