env:
  global:
    - DOCKER_VERSION=1.10.1-0~trusty

sudo: required

services:
  - docker

before_install:
  - apt-cache madison docker-engine
  - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}
  - sudo docker login -e "${DOCKER_EMAIL}" -u "${DOCKER_USERNAME}" -p "${DOCKER_PASSWORD}"

script:
  - sudo ./build.sh

env:
  global:
    - DOCKER_VERSION=1.10.1-0~trusty

sudo: required

services:
  - docker

before_install:
  - apt-cache madison docker-engine
  - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION}

script:
  - sudo ./build.sh

Use latest Docker and login the Docker Hub in Travis build.
Use latest Docker and login the Docker Hub in Travis build.
