dockerfile: dockci.Dockerfile
utilities:
  - name: python3-4-wheels-debian
    input:
      - requirements.txt /work/requirements.txt
      - test-requirements.txt /work/test-requirements.txt
    command: |-
      sh -c '
        apt-get update &&
        apt-get install -y libffi-dev libpq-dev &&
        pip wheel -r requirements.txt &&
        pip wheel -r test-requirements.txt
      '
    output:
      - from: /work/wheelhouse
        to: util
  - name: bower
    input:
      - bower.json /work/bower.json
    command: bower install
    output:
      - from: /work/bower_components
        to: util
services:
  postgres:
    alias: postgres

dockerfile: dockci.Dockerfile
utilities:
  - name: python3-4-wheels-debian
    input:
      - requirements.txt /work/requirements.txt
      - test-requirements.txt /work/test-requirements.txt
    command: |-
      sh -c '
        apt-get update &&
        apt-get install -y libffi-dev libpq-dev &&
        pip wheel -r requirements.txt &&
        pip wheel -r test-requirements.txt
      '
    output:
      - from: /work/wheelhouse
        to: util
  - name: bower
    input:
      - bower.json /work/bower.json
    command: bower install
    output:
      - from: /work/bower_components
        to: util
services:
  postgres:
    alias: postgres
    environment:
      POSTGRES_PASSWORD: dockcitest

Add postgres DB password to service
Add postgres DB password to service
