before_install:
  - "sudo rm /usr/local/bin/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/"
env:
  DOCKER_COMPOSE_VERSION: "1.7.1"
git:
  depth: 1
notifications:
  email: false
  irc:
    channels:
      - "chat.freenode.net#ruma"
    use_notice: true
script: "make ci"
services:
  - "docker"
sudo: "required"

before_install:
  - "apt-cache madison docker-engine"
  - "sudo apt-get -o Dpkg::Options::=\"--force-confnew\" -y install docker-engine=${DOCKER_VERSION}"
  - "sudo rm /usr/local/bin/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/"
env:
  DOCKER_VERSION: "1.10.2-0~trusty"
  DOCKER_COMPOSE_VERSION: "1.7.1"
git:
  depth: 1
notifications:
  email: false
  irc:
    channels:
      - "chat.freenode.net#ruma"
    use_notice: true
script:
  - "docker version"
  - "docker-compose version"
  - "make ci"
services:
  - "docker"
sudo: "required"

Install Docker 1.10 on Travis.
Install Docker 1.10 on Travis.
