machine:
  services:
    - docker

dependencies:
  override:
    - sudo pip install -U docker-compose

test:
  override:
    - docker-compose up -d catalog
    - docker-compose run test

deployment:
  production:
    branch: master
    commands:
      - echo $TUTUM_REGISTRY_USER
      - docker login --username="$TUTUM_REGISTRY_USER" --email="$TUTUM_REGISTRY_EMAIL" --password="$TUTUM_REGISTRY_PASSWORD" tutum.co
      - docker tag dockerracketcatalog_catalog tutum.co/jackfirth/racket_catalog
      - docker push tutum.co/jackfirth/racket_catalog

machine:
  services:
    - docker

dependencies:
  override:
    - sudo pip install -U docker-compose==1.3.3

test:
  override:
    - docker-compose up -d catalog
    - docker-compose run test

deployment:
  production:
    branch: master
    commands:
      - echo $TUTUM_REGISTRY_USER
      - docker login --username="$TUTUM_REGISTRY_USER" --email="$TUTUM_REGISTRY_EMAIL" --password="$TUTUM_REGISTRY_PASSWORD" tutum.co
      - docker tag dockerracketcatalog_catalog tutum.co/jackfirth/racket_catalog
      - docker push tutum.co/jackfirth/racket_catalog

Use older docker-compose to match Circle CI's docker version
Use older docker-compose to match Circle CI's docker version
