sudo: required

services:
  - docker

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

  # Create an .env file from the example.
  - cp .env.example .env

script:
  - docker-compose build
  - docker-compose up -d

sudo: required

services:
  - docker

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

  # Create an .env file from the example.
  - cp .env.example .env

script:
  - docker-compose build
  - docker-compose up -d

Use Docker Compose 1.4.0 in Travis.
Use Docker Compose 1.4.0 in Travis.
