sudo: required

services:
  - docker

before_install:
  # Install Docker Compose
  - curl -L https://github.com/docker/compose/releases/download/1.4.2/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin

script:
  - docker-compose build

sudo: required

services:
  - docker

env:
  DOCKER_COMPOSE_VERSION: 1.9.1

before_install:
  # Install Docker Compose
  - curl -L https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
  - chmod +x docker-compose
  - sudo mv docker-compose /usr/local/bin

script:
  - docker-compose build

Build against latest docker-compose version
Build against latest docker-compose version
