darthjee/mercy

View on GitHub
docker-compose.yml

Summary

Maintainability
Test Coverage
version: '3'
services:
  base: &base
    image: mercy
    working_dir: /home/app/app
    volumes:
      - .:/home/app/app

  base_build:
    <<: *base
    build: .
    command: echo done

  mercy:
    <<: *base
    container_name: mercy
    depends_on: [base_build]
    command: /bin/bash -c 'rspec'

  test_all:
    <<: *base
    depends_on: [base_build]
    command: /bin/bash -c 'rspec && yard && rake yardstick_measure && rake verify_measurements'