django:
  command: runtests.sh
  environment:
    BASE_SETTINGS_MODULE: docker
    PGHOST: postgres
    PGUSER: postgres
    TRAVIS:
  image: interaction/icekit:latest
  links:
    - elasticsearch
    - postgres
    - redis
  volumes:
    - ./:/opt/django-icekit
    - ./.coverage:/opt/django-icekit/.coverage
elasticsearch:
  image: interaction/elasticsearch-icu:1
postgres:
  image: onjin/alpine-postgres:9.4
redis:
  command: redis-server --appendonly yes
  image: redis:3-alpine

django:
  command: runtests.sh
  environment:
    BASE_SETTINGS_MODULE: docker
    PGHOST: postgres
    PGUSER: postgres
    TRAVIS:
  image: interaction/icekit:${TAG}
  links:
    - elasticsearch
    - postgres
    - redis
  volumes:
    - ./:/opt/django-icekit
    - ./.coverage:/opt/django-icekit/.coverage
elasticsearch:
  image: interaction/elasticsearch-icu:1
postgres:
  image: onjin/alpine-postgres:9.4
redis:
  command: redis-server --appendonly yes
  image: redis:3-alpine

Use the image we just built, not `latest`.
Use the image we just built, not `latest`.
