language: go
sudo: required
go:
  - 1.3.3
  - 1.4.2
  - 1.5.3
  - 1.6rc1
  - tip
env:
  - GOARCH=amd64 DOCKER_VERSION=1.7.1
  - GOARCH=386   DOCKER_VERSION=1.7.1
  - GOARCH=amd64 DOCKER_VERSION=1.8.3
  - GOARCH=386   DOCKER_VERSION=1.8.3
  - GOARCH=amd64 DOCKER_VERSION=1.9.1
  - GOARCH=386   DOCKER_VERSION=1.9.1
install:
  - make prepare_docker
script:
  - make test
  - DOCKER_HOST=tcp://127.0.0.1:2375 make integration
services:
  - docker
