sudo: required

env:
  DOCKER_COMPOSE_VERSION: 1.22.0

services:
  - docker

before_install:
  - 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
  - docker-compose -v
  - docker -v
  - sudo service mysql stop

script:
  - sudo make start
  - docker-compose -f docker-compose.yml ps
